Alwasys hidden vs relevance

Mehr
4 Jahre 10 Monate her - 4 Jahre 10 Monate her #115431 von fransmarcelissen
I noticed a small but important difference between setting the relevance of a question to 0 and setting a question to "always hidden". Maybe this is known to everyone, in that case sorry to bother you.

If a question has relevance 0, it is skipped and not set. That means that it also does not have the default value. If it has relevance <>0, but it is "always hidden", it is invisible, but evaluated, and has the default value. This especially very useful with input parameters.

My question is: is this difference intended?
Is there a way to set a question to "always hidden" using em (other than setting the relevance to 0)? I know this can be done with javascript, does anyone have an example of this?

Thanks
Frans
Letzte Änderung: 4 Jahre 10 Monate her von fransmarcelissen.
Folgende Benutzer bedankten sich: dwehrmann

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners
Mehr
4 Jahre 10 Monate her #115657 von dwehrmann
Interesting find, thanks for pointing this out, fransmarceslissen!

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
4 Jahre 9 Monate her #115710 von Mazi

fransmarcelissen schrieb: My question is: is this difference intended?
Is there a way to set a question to "always hidden" using em (other than setting the relevance to 0)? I know this can be done with javascript, does anyone have an example of this?

I assume that this is intended. If a relevance validates to FALSE, the question is left out and thus no data is stored because the conditions set are not met.
If I remember correctly the "always hide this question" setting worked similar when it was introduced but that was changed due to the advantages you mentioned (I'd like to add "Passing information by URL into hidden questions." as another benefit).

What do you plan by set a question to "always hidden" using em ? What's the goal?

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
4 Jahre 9 Monate her #115850 von fransmarcelissen
I have a survey where I want the user to fill in a question just once, without the option of changing the answer. So I want to hide the question if it has a value. This can not be done by setting the relevance.
In general, this is not a big issue. And I assume that "always hidden" means always hidden.....
Frans

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha