View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04453 | Bug reports | Survey taking | public | 2010-06-30 20:08 | 2014-02-28 16:42 |
Reporter | jdalegonzalez | Assigned To | lemeur | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.87+ | ||||
Fixed in Version | 1.90RC3 | ||||
Summary | 04453: Refreshing a page in Internet Explorer will cause conditional fields to not be displayed. | ||||
Description | Fields that should be displayed conditionally are written out with 'style="display: none"'. On page load, a checkconditions script is run and it will change this to .style.display='' for those questions that should display. The problem is that group.php adds javascript to only run these condition checks if document.getElementById('runonce').value =='0'. Once the function has been run, document.getElementById('runonce').value is updated to '1'. With rational browsers, this works fine. With Internet Explorer, (at least with v 8), everything is hidden on a screen refresh but the value of document.getElementById('runonce') is retained. This means that the checkconditions script bails out having never made visible any elements that were conditionally displayed. | ||||
Steps To Reproduce |
| ||||
Additional Information | Setting the value of 'runonce' to 0 in window.ready OR not using a hidden form value but rather a text field with display:none both seem to solve the problem. | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 7987 | ||||
I will donate to the project if issue is resolved | |||||
Browser | Internet Explorer v. 8 | ||||
Database type & version | all | ||||
Server OS (if known) | all | ||||
Webserver software & version (if known) | all | ||||
PHP Version | all | ||||
parent of | 08783 | closed | DenisChenu | The main container form is not 508 compliant |
I haven't been able to reproduce the problem, however I've committed a fix to rev 8926. Thibault |
|
jdalegonzalez, once we have released a 1.90 RC3 or stable version, can you check if the problem is solved?! |
|
Sure. I'll take a look at it on RC3 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2010-06-30 20:08 | jdalegonzalez | New Issue | |
2010-06-30 20:08 | jdalegonzalez | Status | new => assigned |
2010-06-30 20:08 | jdalegonzalez | Assigned To | => user372 |
2010-07-01 22:11 | c_schmitz | Assigned To | user372 => lemeur |
2010-07-12 16:49 | lemeur | Note Added: 12385 | |
2010-07-12 16:49 | lemeur | Status | assigned => resolved |
2010-07-12 16:49 | lemeur | Fixed in Version | => 1.90RC3 |
2010-07-12 16:49 | lemeur | Resolution | open => fixed |
2010-07-13 01:36 | Mazi | Note Added: 12388 | |
2010-07-13 14:56 | jdalegonzalez | Note Added: 12417 | |
2010-07-20 22:16 | c_schmitz | Status | resolved => closed |
2010-10-25 00:18 | c_schmitz | Category | Survey at Runtime => Survey taking |
2014-02-28 16:42 | DenisChenu | Relationship added | parent of 08783 |