- Posts: 74
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Question Preview not Matching Actual Question
- Winocll_48635
- Topic Author
- Offline
- Banned
Less
More
7 years 3 months ago #145330
by Winocll_48635
Question Preview not Matching Actual Question was created by Winocll_48635
A couple of questions in my survey look fine when i preview the question, but when i take the survey they don't look like they should. Each is an array type question with subquestions, and each contains a script for putting headings in the rating scale.
The script looks like this:
(note: some of the following images has been redacted for privacy reasons)
Here's what the Question previews look like:
Here's what the question looks like when taking the survey:
The script looks like this:
Code:
<script type="text/javascript" charset="utf-8"> $(document).ready(function(){ var thisQuestion = $('#question{QID}'); $('table.subquestions-list thead', thisQuestion).prepend('<tr class="new-header">\ <td>&nbsp;</td>\ <th colspan="11" style="text-align:left;">Not Satisfied<span style="float:right">Very Satisfied</span></th>\ </tr>'); }); </script>
(note: some of the following images has been redacted for privacy reasons)
Here's what the Question previews look like:
Here's what the question looks like when taking the survey:
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
7 years 3 months ago #145331
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Question Preview not Matching Actual Question
The second picture looks like an alert that mandatory subquestions haven't been answered.
Does it look like this immediately when you open them or only when you click next?
Does it look like this immediately when you open them or only when you click next?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- Winocll_48635
- Topic Author
- Offline
- Banned
Less
More
- Posts: 74
- Thank you received: 1
7 years 3 months ago #145332
by Winocll_48635
Replied by Winocll_48635 on topic Question Preview not Matching Actual Question
I figured it out...i forgot to put "<th></th>\" above the "</tr>');" line.
The topic has been locked.