- Posts: 29
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Multiple question types in array modifiy
- phpsurvey
- Topic Author
- Offline
- Junior Member
Less
More
13 years 3 months ago - 13 years 3 months ago #53392
by phpsurvey
Replied by phpsurvey on topic Multiple question types in array modifiy
I tested and tried everything.... I found out that the example survey limesurvey_survey_52381.lss shows the same double Boilerplate questions in IE.. I think there is something wrong with the javascript code, that pool all the sub-questions in one question..??
I import a the limesurvey_survey_52381.lss survey on( demo.limesurvey.org/admin/admin.php ) but I cannot insert javascript code in the Boilerplate question. Here you could see and try that the example doesn't work with the internet explorer.
I import a the limesurvey_survey_52381.lss survey on( demo.limesurvey.org/admin/admin.php ) but I cannot insert javascript code in the Boilerplate question. Here you could see and try that the example doesn't work with the internet explorer.
Last edit: 13 years 3 months ago by phpsurvey.
The topic has been locked.
- phpsurvey
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 0
13 years 3 months ago #53393
by phpsurvey
Replied by phpsurvey on topic Multiple question types in array modifiy
There must be any posibility to supress this error ???
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
13 years 3 months ago - 13 years 3 months ago #53394
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Multiple question types in array modifiy
There is nothing wrong with the javascript code. The image below is what I get in IE 7/8 after importing the survey attached earlier in this post and modifying the IDs. It is exactly as expected.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
Last edit: 13 years 3 months ago by tpartner.
The topic has been locked.
- phpsurvey
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 0
13 years 3 months ago #53395
by phpsurvey
Replied by phpsurvey on topic Multiple question types in array modifiy
curious... I did the same an I get result with the double boilerplates. What the .... is the problem ......
The topic has been locked.
- phpsurvey
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 0
13 years 3 months ago #53396
by phpsurvey
Replied by phpsurvey on topic Multiple question types in array modifiy
here is the evidence
i am using ie 8
www.partnersinc.biz/surveys//index.php?s...81&newtest=Y&lang=en
and the result is:
i am using ie 8
www.partnersinc.biz/surveys//index.php?s...81&newtest=Y&lang=en
and the result is:
The topic has been locked.
- phpsurvey
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 0
13 years 3 months ago - 13 years 3 months ago #53399
by phpsurvey
Replied by phpsurvey on topic Multiple question types in array modifiy
thats the problem
now it works
Code:
$('.qRow1').wrapAll('<div id="inlineWrapper1" />'); $('.qRow2').wrapAll('<div id="inlineWrapper2" />'); $('.qRow3').wrapAll('<div id="inlineWrapper3" />'); $('.qRow4').wrapAll('<div id="inlineWrapper4" />');
now it works
Last edit: 13 years 3 months ago by phpsurvey.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
13 years 3 months ago #53433
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Multiple question types in array modifiy
This is not a real error and won't cause problems. It's inserted by Limesurvey (so not question or template sepecific).
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- phpsurvey
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 0
13 years 3 months ago - 13 years 3 months ago #53445
by phpsurvey
Replied by phpsurvey on topic Multiple question types in array modifiy
The fact is, that the problem exits with the Internet Explorer and there must be a solution.
Validator shows:
I don't understand you. If you would test
with IE you would see that the error exists and solved by changing the div tag.
Validator shows:
Code:
Result: 5 Fehler / 0 Warnungen line 39 column 122 - Fehler: there is no attribute "autocomplete" line 161 column 59 - Fehler: document type does not allow element "div" here line 162 column 59 - Fehler: document type does not allow element "div" here line 163 column 59 - Fehler: document type does not allow element "div" here line 164 column 59 - Fehler: document type does not allow element "div" here $('.qRow1').wrapAll('<div id="inlineWrapper1" />'); change to $('.qRow1').wrapAll('<div id="inlineWrapper1"> </div>'); and IE shows no error
I don't understand you. If you would test
with IE you would see that the error exists and solved by changing the div tag.
Last edit: 13 years 3 months ago by phpsurvey.
The topic has been locked.
- phpsurvey
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 0
13 years 3 months ago #53458
by phpsurvey
Replied by phpsurvey on topic Multiple question types in array modifiy
lol its totaly curios:
if you just change the first line and the problem is solved
$('div[name="qRow1"]').wrapAll($('#inlineWrapper1'));
to
$('.qRow1').wrapAll('<div id="inlineWrapper1"> </div>');
but when I change all lines, everything is displaced
but don't ask me why ...?????? I just want to start my survey. I hate the IE...
if you just change the first line and the problem is solved
$('div[name="qRow1"]').wrapAll($('#inlineWrapper1'));
to
$('.qRow1').wrapAll('<div id="inlineWrapper1"> </div>');
but when I change all lines, everything is displaced
but don't ask me why ...?????? I just want to start my survey. I hate the IE...
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
13 years 3 months ago #53460
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Multiple question types in array modifiy
I am in the process of modifying this for IE8
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.