Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Hide questions, but only if prefilled by URL

Hide questions, but only if prefilled by URL 3 years 3 months ago #99696

I can easily prefill questions via URL parameters.
I can hide questions always.
I can prevent a question from being used with Expression Manager.

However, the three of these don't get me to where I want to be.

I want to "sometimes" prefill a question.
If it is prefilled, it should be hidden.
It it is not pre-filled, it should be visible.

If I use Expression Manager on the question to see if it is prefilled, then when it is false, it sets the answer to NULL instead of keeping the prefilled answer.

Anyone know how to do this?
Hide a question only if it is prefilled?
The administrator has disabled public write access.

Hide questions, but only if prefilled by URL 3 years 2 months ago #99952

Does someone know how this works and if limesurvey can address this?
The administrator has disabled public write access.

Hide questions, but only if prefilled by URL 3 years 2 months ago #99971

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9586
  • Thank you received: 1375
  • Karma: 390
Hi,

No, it can not be done exactly like this.

My solution : www.limesurvey.org/en/forum/design-issue...n-if-prefilled#99947
Tony Partner solution : www.limesurvey.org/en/forum/design-issue...n-if-prefilled#99936
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
Last Edit: 3 years 2 months ago by DenisChenu.
The administrator has disabled public write access.
The following user(s) said Thank You: sterlingbates
Time to create page: 0.684 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form