Array where some fields hidden and not mandatory

More
1 month 2 days ago #167595 by blocka
blocka created the topic: Array where some fields hidden and not mandatory
I have an Array question where I'm hiding some fields by using CSS in template, but my array is mandatory, and so participant cannot proceed to next question because of hidden fields.

Any way to make some fields in an array mandatory (or at least, negate the ones that I have hidden from the mandatory evaluation)?

Please Log in or Create an account to join the conversation.

More
1 month 1 day ago #167618 by tpartner
tpartner replied the topic: Array where some fields hidden and not mandatory
No. A workaround would be to add a hidden "N/A" column and toggle that with JavaScript where necessary.

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

Please Log in or Create an account to join the conversation.

More
1 month 1 day ago #167635 by blocka
blocka replied the topic: Array where some fields hidden and not mandatory
That's an interesting idea. So what I would do is:

1) Hide the fields (cells) I want to hide
2) Add the No Answer option to the question
3) Show No Answer only on the rows where I've hidden the cells

You say I can " toggle that with JavaScript" -- can you explain, show what you mean? Is there an example LSS somewhere that might demonstrate this?

Please Log in or Create an account to join the conversation.

More
1 month 1 day ago #167641 by tpartner
tpartner replied the topic: Array where some fields hidden and not mandatory
I did not say "Add the No Answer option to the question", I said to add another sub-question for N/A.

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

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!