View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04911 | Bug reports | Conditions | public | 2011-01-29 00:24 | 2011-03-21 23:10 |
Reporter | timbee | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | not fixable | ||
Product Version | 1.91RC2 | ||||
Target Version | 1.91RC4 | ||||
Summary | 04911: "Always hide this question" doesn't produce any html at all (should produce input html code, but with display:none) | ||||
Description | Advanced Question Option->Display->Always hide this question | ||||
Steps To Reproduce | Create a new test survey, | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 12 | ||||
Complete LimeSurvey version number (& build) | 9672 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox 3.6.13 | ||||
Database type & version | mysql 5.1.51 | ||||
Server OS (if known) | ubunti10.04 | ||||
Webserver software & version (if known) | apache 2.2.17 | ||||
PHP Version | 5.3.3 | ||||
Note for me:
In line 407: Seems that the patch was just not complete. |
|
With svn version, you can use this option to hide completely some question and use it in SGQA after. Try: I upload lss for this test. For me there is no bug here. You can use condition too if you put the hidden question before the question with condition (lss updated) |
|
@Shnoulle, This feature is not only in SVN, but in RC3 as well and it's buggy ;-), at least for group by group surveys. Can you test and post a test survey ? Thibault |
|
Yeap, And it's OK in 1.90 too and work like a charm. Sorry it's OK only for question by question, QbQ : http://limesurvey.sondages.pro/index.php?sid=59534&59534X17X350=TEST : OK I have to had a question in first group to have the functionnality. All in one are bad, we have to use javascript condition only if SGQA are shown: it's the test to do i think. |
|
@Shnoulle, I don't understand, you say "not in group by group", but you report a working group-by-group link ? [QUOTE]All in one ar bad[/QUOTE] The fact is that the "always hide" feature was partly implemented, and thus shouldn't have been applied to the trunk untill all aspects of the developpement have been properly done. |
|
[QUOTE]I don't understand, you say "not in group by group", but you report a working group-by-group link ?[/QUOTE] [QUOTE][QUOTE]All in one ar bad[/QUOTE] And to complete the bug report :
javascript issue, not php. |
|
[QUOTE]Conditionnal question with an hidden question don't work if this hidden question are on the same page.[/QUOTE] Hum this is another issue. Thibault |
|
[QUOTE]Hum this is another issue.[/QUOTE] I'm not agree: database are filled by $_GET[$field] like espected. We can't manipulate hidden question like espected. And if you put a display:none to hidden question, then you can't manipulate this too. :) |
|
Sorry for otehrs, but I prefer to switch in French for now, and will make a summary later. Shnoulle, pourquoi dis-tu qu'il s'agit du même problème ? |
|
Let me add my 2 cents since the current behavior of this feature irritates many users and it has been discussed at the forum a lot: When hiding the question using the question attribute, the question's HTML should be created for the survey page but then be hidden using the according question ID and the "hide()" statement. |
|
Mazi, that was my understanding of the functionality also. Can anyone imagine a scenario where we don't even want to display the html? That's almost the same thing as disabling/deactivating the question it seems. maybe it should be. |
|
[quote] :) |
|
[quote] but in the case of Not displaying the question, it does Not even display the HTML, so nothing will be saved in the database, because there is no form input for it to get data from. This is what I originally wanted to use this feature for too: I had some javascript that would simply populate a hidden text input box with the timestamp. But because the question was marked as "Always hide this question", it did not display the text input in the html source, and so nothing was saved to the DB. I tested with 1.91RC2(9672) |
|
@ timbee : With 1.90 and with 1.91RC3 : it work (with ative survey): the session was filled with all the database column name, and if there are a get survey with the SGQA, then database is filled with the good information. For the 2 link testing , i have a lot of TEST ans some Gloubilga :). I use a text short question to get the information. |
|
@shnoulle |
|
Okay, I installed Version 1.91RC3 Build 9715, and still no luck. +create a new survey
HTML RESULTS: DATABASE RESULTS (mysql): SURVEY: FOLLOW UP: |
|
@shnoulle, I can reproduce the pb with the http://sharetext.org/D4H/p survey and very latest development tree (rev 9781). |
|
The option 'Always hide this question' is designed to work that way that no output is generated. I agree that for someone who wants to manipulate a value by JS this is inconvenient. On the other had a simple CSS statement will hide a complete question too, if needed. So the option 'Always hide this question' is currently only intended onyl to be used if you want to prefill fields by URL. I agree also that it should be extended later so it can be switched to two settings (one to completely leave it out right now and one to hide only) which might be less confusing. So, unless you say that prefilling by URL is not possible anymore, there is no bug here. |
|
I think we should improve this at 1.91 if possible because there are really lots of problems and questions when using this feature and when not displaying the HTML at all, it is nearly useless for most users. |
|
Sure, but anyway, it is no bug. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2011-01-29 00:24 | timbee | New Issue | |
2011-01-29 00:24 | timbee | Status | new => assigned |
2011-01-29 00:24 | timbee | Assigned To | => lemeur |
2011-01-29 19:06 | lemeur | Note Added: 14000 | |
2011-01-29 19:06 | lemeur | Status | assigned => confirmed |
2011-01-31 14:49 | DenisChenu | Note Added: 14003 | |
2011-01-31 14:50 | DenisChenu | Note Edited: 14003 | |
2011-01-31 14:50 | DenisChenu | File Added: limesurvey_survey_59534.lss | |
2011-01-31 14:55 | DenisChenu | Note Edited: 14003 | |
2011-01-31 14:56 | DenisChenu | File Deleted: limesurvey_survey_59534.lss | |
2011-01-31 14:56 | DenisChenu | File Added: limesurvey_survey_59534.lss | |
2011-01-31 14:59 | lemeur | Note Added: 14004 | |
2011-01-31 15:12 | DenisChenu | Note Added: 14005 | |
2011-01-31 15:15 | DenisChenu | Note Edited: 14005 | |
2011-01-31 15:17 | DenisChenu | Note Edited: 14005 | |
2011-01-31 15:30 | DenisChenu | Note Edited: 14005 | |
2011-01-31 15:31 | DenisChenu | Note Edited: 14005 | |
2011-01-31 15:34 | DenisChenu | Note Edited: 14005 | |
2011-01-31 15:43 | DenisChenu | Note Edited: 14005 | |
2011-01-31 15:48 | lemeur | Note Added: 14006 | |
2011-01-31 15:55 | DenisChenu | Note Added: 14007 | |
2011-01-31 16:06 | lemeur | Note Added: 14008 | |
2011-01-31 16:11 | DenisChenu | Note Added: 14009 | |
2011-01-31 16:11 | DenisChenu | Note Edited: 14009 | |
2011-01-31 16:12 | DenisChenu | Note Edited: 14009 | |
2011-01-31 16:12 | DenisChenu | Note Edited: 14009 | |
2011-01-31 16:18 | lemeur | Note Added: 14010 | |
2011-01-31 16:22 | Mazi | Note Added: 14011 | |
2011-01-31 19:53 | timbee | Note Added: 14021 | |
2011-02-01 14:36 | DenisChenu | Note Added: 14028 | |
2011-02-01 16:15 | mdekker | Target Version | => 1.91RC4 |
2011-02-01 17:36 | timbee | Note Added: 14030 | |
2011-02-01 17:58 | DenisChenu | Note Added: 14033 | |
2011-02-01 18:23 | timbee | Note Added: 14034 | |
2011-02-02 00:07 | timbee | Note Added: 14035 | |
2011-02-12 10:29 | lemeur | Note Added: 14172 | |
2011-02-15 21:21 | c_schmitz | Assigned To | lemeur => c_schmitz |
2011-02-15 21:21 | c_schmitz | Status | confirmed => assigned |
2011-02-17 11:17 | jacopo | Issue Monitored: jacopo | |
2011-03-11 13:20 | c_schmitz | Note Added: 14402 | |
2011-03-11 13:24 | c_schmitz | Note Edited: 14402 | |
2011-03-11 13:24 | c_schmitz | Status | assigned => feedback |
2011-03-12 13:01 | Mazi | Note Added: 14418 | |
2011-03-21 23:10 | c_schmitz | Note Added: 14504 | |
2011-03-21 23:10 | c_schmitz | Status | feedback => closed |
2011-03-21 23:10 | c_schmitz | Resolution | open => not fixable |