Check out the LimeSurvey source code on GitHub!

Modified error message for each question

More
2 years 7 months ago #110384 by id_wahyu
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

Please Log in to join the conversation.

More
2 years 7 months ago #110394 by DenisChenu
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 (or search sondages pro).
The following user(s) said Thank You: id_wahyu

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form