- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Add numeric input to table of yes no array
- quadrellis
- Topic Author
- Offline
- New Member
Less
More
10 years 2 months ago #105536
by quadrellis
Add numeric input to table of yes no array was created by quadrellis
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10115
- Thank you received: 3597
10 years 2 months ago #105560
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 Add numeric input to table of yes no array
This can be done by moving numeric inputs from following questions into the array. See this post -
www.limesurvey.org/en/forum/design-issue...ifiy?start=100#94472
.
.
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- quadrellis
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
10 years 2 months ago #105628
by quadrellis
Replied by quadrellis on topic Add numeric input to table of yes no array
Thankyou, that definitely looks like what I am after. I have inserted the script and copied the question setup that was used in the link, however I am unable to get the question to display properly, I'm using Vallender will that affect things ?
Also how would I go about making three changes:
- change to short numeric input
- add a second age input
- change the order of display to: checkbox/checkbox/Numeric input/Numeric Input for each question
Attached is the .lsg
Also how would I go about making three changes:
- change to short numeric input
- add a second age input
- change the order of display to: checkbox/checkbox/Numeric input/Numeric Input for each question
Attached is the .lsg
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10115
- Thank you received: 3597
10 years 2 months ago - 10 years 2 months ago #105675
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 Add numeric input to table of yes no array
Well, this gets a little complicated.
You will need a separate multi-numeric question for each "Age" column. And each of those will need subquestions that match the subquestions in the array.
Then you will want to make the age inputs only mandatory if a "Yes" radio is selected and disable/clear them if "Yes" is not selected.
Quite a lot of JS required...
.
You will need a separate multi-numeric question for each "Age" column. And each of those will need subquestions that match the subquestions in the array.
Then you will want to make the age inputs only mandatory if a "Yes" radio is selected and disable/clear them if "Yes" is not selected.
Quite a lot of JS required...
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 10 years 2 months ago by tpartner.
The topic has been locked.