Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

How to hide tips for array questions when using "question validation tip"?

  • SherriChen
  • SherriChen's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 7 months ago #187916 by SherriChen
Hi,

I have an array question, and I want respondents to complete at least the first row, so I use the function “question validation equation” and “question validation tip”.


Although I keep “Hide tip” on, the tip still shows when I preview the question.


I want the tip to be shown only when respondents make an error.
How to hide the tip in this situation?

Thank you for your help.

Sherry
The topic has been locked.
More
4 years 7 months ago #187917 by jelo

SherriChen wrote: I want the tip to be shown only when respondents make an error.
How to hide the tip in this situation?

I know that most survey tools show such hints only after interacting with the question or survey. But LimeSurvey hasn't adopted to this style till now.

The complete validation equation is not visible.

First you would have to define what the error in "I want the tip to be shown only when respondents make an error." really means pratically for you.

Perhaps there is a bug inside LimeSurvey. What version of LimeSurvey do you use?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • SherriChen
  • SherriChen's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 7 months ago #187918 by SherriChen
Thank for your reply, Jelo. I am using Version 3.17.9.
The topic has been locked.
  • SherriChen
  • SherriChen's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 7 months ago #187920 by SherriChen
Perhaps I need to explain this problem more:
1- To force respondents to fill in all the spaces in the first row, I set Question validation equation as:
(( ! is_empty(A1_SQ001_SQ002.NAOK))) and (( ! is_empty(A1_SQ001_SQ003.NAOK)))and (( ! is_empty(A1_SQ001_SQ004.NAOK)))and (( ! is_empty(A1_SQ001_SQ001.NAOK)))

2- Ideally, the tip "Please fill in all the part of the first row" will only appear when the first row is not completely filled in and respondents click on the "Next" button.
The problem is the tip appears at the beginning although I keep "Hide tip" on.

I attached a sample survey to specify the problem.

File Attachment:

File Name: limesurvey...8-22.lss
File Size:23 KB
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 7 months ago - 4 years 7 months ago #187921 by Joffm
Hi,
though the entire validation equation is not visible, at the moment LimeeSurvey behaves correctly.
There is an error: The first row is not filled.
I agree: It is not easy to create a validition equation to check "!is_empty" when initially the field is empty.

And please remember:
The question validation tip may contain functions:
You may say:
{if(error condition,"Text 1","")}
So, only if there is an error the text is displayed.





Of course you may hide the whole "tip" container, by
<style>
.question-valid-container {display:none}
</style>

In that case you will see the following
(Looks like this first question of your survey which I thought had to be dynamically.
In my opinion only this one has one first mandatory row.
In following questions - after you know the number of stages - all stages are mandatory)




The popup anly appears after clicking "Next".



And I'd display a message in the help text about the mandatory first row.
So the initially red surrounded fields are acceptable.

Best regards
Joffm

Oh, you sent your survey while I was writing.
I'll have a look.

No, nothing else to say.
One more word:
In my opinion then "Hide tip" option only hides the "system" tips, but not yours.

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 4 years 7 months ago by Joffm.
The following user(s) said Thank You: cdorin
The topic has been locked.
  • SherriChen
  • SherriChen's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 7 months ago #187939 by SherriChen
Thank you very much for your reply, Joffm! I think I will hide the whole "tip" container. But, in my opinion, I think this function should be updated because it is not good for respondents to see the tips in advance or to see the incomplete tips afterward.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose