Alwasys hidden vs relevance

Plus d'informations
il y a 4 ans 7 mois - il y a 4 ans 7 mois #115431 par 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
Dernière édition: il y a 4 ans 7 mois par fransmarcelissen.
Les utilisateur(s) suivant ont remercié: dwehrmann

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 4 ans 7 mois #115657 par dwehrmann
Réponse de dwehrmann sur le sujet Alwasys hidden vs relevance
Interesting find, thanks for pointing this out, fransmarceslissen!

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 4 ans 6 mois #115710 par Mazi
Réponse de Mazi sur le sujet Alwasys hidden vs relevance

fransmarcelissen écrit: 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 4 ans 6 mois #115850 par 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

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!