Welcome, Guest
Username: Password: Remember me

TOPIC: Make one subquestion not mandatory on a mandatory array

Make one subquestion not mandatory on a mandatory array 1 year 8 months ago #91742

  • nuin
  • nuin's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
Hi

We have a question that is mandatory in our survey, but one of the subquestions can be left blank if the user choose to. Is it possible to do this with some validation rule for that specific subquestion?

Thanks in advance
The administrator has disabled public write access.

Make one subquestion not mandatory on a mandatory array 1 year 8 months ago #92623

  • nuin
  • nuin's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
Bump
The administrator has disabled public write access.

Make one subquestion not mandatory on a mandatory array 1 year 8 months ago #92633

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
Just add a Yes/No qyestion with:
I don't want to andwser to next question (Yes/No/no answer)

And use conditions to hide the question.
The administrator has disabled public write access.

Make one subquestion not mandatory on a mandatory array 1 year 8 months ago #92659

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4281
  • Thank you received: 807
  • Karma: 370
You cannot place conditions on array sub-questions.

A possible solution would be to:
- add a "N/A" answer too the array
- hide the "No Answer" column with CSS/JavaScript
- use JavaScript to initially check "No Answer" in the "optional" row
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.
The following user(s) said Thank You: DenisChenu, nuin

Make one subquestion not mandatory on a mandatory array 1 year 8 months ago #92699

  • nuin
  • nuin's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
Thanks a lot. I will check and report back.

Cheers
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.099 seconds
Donation Image