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 2 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 2 months ago #110394

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9305
  • Thank you received: 1330
  • Karma: 386
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
The following user(s) said Thank You: id_wahyu
Moderators: ITEd
Time to create page: 0.178 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form