- Posts: 40
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Array Filter-> Prevent empty radio button show if previous "Other" empty
- jajas
- Topic Author
- Offline
- Senior Member
Less
More
10 years 1 month ago #105968
by jajas
Array Filter-> Prevent empty radio button show if previous "Other" empty was created by jajas
Dear LS Team,
I have question.
Q1.[Multiple Answer]
A1. Answer 1
A2. Answer 2
A3. Answer 3
A4. Answer 4
Other
Q2.[Single] ==> Answer Base On Selected Answer on Q1
I used array filter and it's work. The problem is, when "other" answer not contain a value,
in Q2 shown empty radio button.
how to prevent empty radio button if on Q1 "other" answer does not contain a value.
Need your help for this case, please..
Regards,
Sajaj
I have question.
Q1.[Multiple Answer]
A1. Answer 1
A2. Answer 2
A3. Answer 3
A4. Answer 4
Other
Q2.[Single] ==> Answer Base On Selected Answer on Q1
I used array filter and it's work. The problem is, when "other" answer not contain a value,
in Q2 shown empty radio button.
how to prevent empty radio button if on Q1 "other" answer does not contain a value.
Need your help for this case, please..
Regards,
Sajaj
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10114
- Thank you received: 3595
10 years 1 month ago #105987
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 Array Filter-> Prevent empty radio button show if previous "Other" empty
Can you please attach a sample survey?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- jajas
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 40
- Thank you received: 0
10 years 1 month ago #106016
by jajas
Replied by jajas on topic Array Filter-> Prevent empty radio button show if previous "Other" empty
Hi Tony,
File attached (capture)
File attached (capture)
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10114
- Thank you received: 3595
10 years 1 month ago #106038
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 Array Filter-> Prevent empty radio button show if previous "Other" empty
Can you please attach a sample survey, not just a screenshot?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- jajas
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 40
- Thank you received: 0
10 years 1 month ago #106112
by jajas
Replied by jajas on topic Array Filter-> Prevent empty radio button show if previous "Other" empty
Hi Tonny,
Sample attached.
in Second Question if Other in 1st Question Blank,
empty Radio button appear in second Question.
really need your help, please
Sample attached.
in Second Question if Other in 1st Question Blank,
empty Radio button appear in second Question.
really need your help, please
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10114
- Thank you received: 3595
10 years 1 month ago #106119
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 Array Filter-> Prevent empty radio button show if previous "Other" empty
I'm sorry, I can't import that survey properly. You seem to have multiple questions using the same codes. Question codes must be unique.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- jajas
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 40
- Thank you received: 0
10 years 1 month ago #106120
by jajas
Replied by jajas on topic Array Filter-> Prevent empty radio button show if previous "Other" empty
Hi Tony,
Attached file for Group export result
hope it's works
Attached file for Group export result
hope it's works
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10114
- Thank you received: 3595
10 years 1 month ago #106122
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 Array Filter-> Prevent empty radio button show if previous "Other" empty
In Q2, change the last answer code to "other".
Here is a working survey.
Here is a working survey.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The topic has been locked.
- jajas
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 40
- Thank you received: 0
10 years 1 month ago #106148
by jajas
Replied by jajas on topic Array Filter-> Prevent empty radio button show if previous "Other" empty
Hi Tony,
Thanks for Replay.
it's work if Q1 [1st question] Multiple and Q2 [2nd Question] single.
but does not work if 2nd Question is array question.
when i Add question, shown error message "Error: 'other' is a reserved keyword."
Need your help for this problem.
Thanks for Replay.
it's work if Q1 [1st question] Multiple and Q2 [2nd Question] single.
but does not work if 2nd Question is array question.
when i Add question, shown error message "Error: 'other' is a reserved keyword."
Need your help for this problem.
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10114
- Thank you received: 3595
10 years 1 month ago #106166
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 Array Filter-> Prevent empty radio button show if previous "Other" empty
Well, yes of course that solution was for a list-radio question as that's what you asked for.
Attach a relevant group.
.
Attach a relevant group.
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.