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

TOPIC: Modified error message for each question

Modified error message for each question 2 years 5 months ago #110384

  • id_wahyu
  • id_wahyu's Avatar
  • Offline
  • Junior Lime
  • Posts: 38
  • Karma: 0
Hi all.

I have another query need to ask for your help:

Is there anyway to modify (or create) the error-message for each of the question? Currently it is the same across all variables, and I need to mention some message (of error) in particular question.

Your advice really appreciated.

Regards
Iwan
The administrator has disabled public write access.

Modified error message for each question 2 years 5 months ago #110394

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9576
  • Thank you received: 1374
  • Karma: 390
Maybe you can use:
manual.limesurvey.org/QS:Em_validation_q
manual.limesurvey.org/QS:Em_validation_q_tip

With your own message .

You can use EM in Em_validation_q_tip:
Example :
{if(is_empty(this),'Please provide an answer','')}
{if(!is_empty(this) and this lt 1,'Your answer must be upper than 1','')}

With Em_validation_q
!is_empty(this) and this le 1
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).
The administrator has disabled public write access.
The following user(s) said Thank You: id_wahyu
Time to create page: 0.388 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form