Welcome, Guest
Username: Password: Remember me

TOPIC: Array Filter-> Prevent empty radio button show if previous "Other" empty

Array Filter-> Prevent empty radio button show if previous "Other" empty 4 months 3 weeks ago #105968

  • jajas
  • jajas's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 32
  • Karma: 0
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
The administrator has disabled public write access.

Array Filter-> Prevent empty radio button show if previous "Other" empty 4 months 3 weeks ago #105987

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4066
  • Thank you received: 745
  • Karma: 341
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Array Filter-> Prevent empty radio button show if previous "Other" empty 4 months 3 weeks ago #106016

  • jajas
  • jajas's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 32
  • Karma: 0
Hi Tony,

File attached (capture)
Attachments:
The administrator has disabled public write access.

Array Filter-> Prevent empty radio button show if previous "Other" empty 4 months 2 weeks ago #106038

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4066
  • Thank you received: 745
  • Karma: 341
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Array Filter-> Prevent empty radio button show if previous "Other" empty 4 months 2 weeks ago #106112

  • jajas
  • jajas's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 32
  • Karma: 0
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
Attachments:
The administrator has disabled public write access.

Array Filter-> Prevent empty radio button show if previous "Other" empty 4 months 2 weeks ago #106119

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4066
  • Thank you received: 745
  • Karma: 341
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Array Filter-> Prevent empty radio button show if previous "Other" empty 4 months 2 weeks ago #106120

  • jajas
  • jajas's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 32
  • Karma: 0
Hi Tony,

Attached file for Group export result
hope it's works
Attachments:
The administrator has disabled public write access.

Array Filter-> Prevent empty radio button show if previous "Other" empty 4 months 2 weeks ago #106122

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4066
  • Thank you received: 745
  • Karma: 341
In Q2, change the last answer code to "other".

Capture2_2014-03-10.png


Here is a working survey.

File Attachment:

File Name: limesurvey_survey_9246781.lss
File Size: 17 KB
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Array Filter-> Prevent empty radio button show if previous "Other" empty 4 months 2 weeks ago #106148

  • jajas
  • jajas's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 32
  • Karma: 0
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.
Attachments:
The administrator has disabled public write access.

Array Filter-> Prevent empty radio button show if previous "Other" empty 4 months 2 weeks ago #106166

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4066
  • Thank you received: 745
  • Karma: 341
Well, yes of course that solution was for a list-radio question as that's what you asked for.

Attach a relevant group.


.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.118 seconds
Donation Image