I'm setting a cookie via js so that participants who take the survey again dont have to answer the first two pages again (I want participants to take the survey more than once).
I know how to skip a page by activating the next button in my script. However it doesnt work when the questions are set to be mandatory.
I want them to be mandatory for the first time, so setting them to be non-mandatory is not an option sadly.
Does anyone know how to disable the mandatory feature for all questions on a page via js?
I wasnt able to find an answer with my search of the forums.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
That could work but is kind of an unelegant workaround. Since there are quite a few questions in different formats on those two that would be kind of a hassle. I was hoping for an easier solution.
Still, thank you for your quick answer. If there isnt any better solution, I'll have to go that way.
You use cookie … but if you use another system, for example token or prefill value by url or … etc …
You can use relevance on the first 2 group directly …
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Then 2 solution:
- Set relevance to 0
- Put a value in answer
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
The first option sounds like the way to go.
Can you explain how I'd set that up to work? Or is there anything about it in the manual? If so, could you link it to me?