Welcome to the LimeSurvey Community Forum

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

Modify default validation text

  • msalum1
  • msalum1's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 hours 2 minutes ago - 3 hours 59 minutes ago #268730 by msalum1
Modify default validation text was created by msalum1
Please help us help you and fill where relevant:
LimeSurvey version: LimeSurvey Community Edition Version 6.10.0+250106
Own server or LimeSurvey Cloud:  own (organization) 
Survey theme/template: Fruity TwentyThree ( extends_fruity_twentythree )
==================
Hello, 

I’m looking for suggestions to hide all the default validation tips. 

 Joffm suggested using CSS to hide the default validation text in this thread ( Question Validation Warning Messages Text Location ). However, I’m unsure about the exact code to use. I also tried using the "hide tip" option under the display settings, but the issue persisted. 

I want to replace all default validation text with: “Please enter a number for each area. The number must add up to a total of 12.” 

I attempted to follow the steps suggested by DennisChenu in this thread ( Modifying Validation/Error Text Alerts/Helper Text ), but I was unsuccessful. Here are the steps I followed: 

1. Hide the default validation text in custom.css: .question-container.numeric .ls-em-tip.em_default { display: none; } 
2. Set the validation condition to:  sum(self.NAOK) == 12 
3. Add the custom validation message in the "Question Valid Tip" container: “Please enter a number for each area. The number must add up to a total of 12.” 

I’m also attaching a sample for reference. I would greatly appreciate your help in resolving this issue.
-Marlo 
 
Last edit: 3 hours 59 minutes ago by msalum1.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose