Check out the LimeSurvey source code on GitHub!

Custom error message for regexp-based validation

More
5 years 4 months ago #66847 by wabrit
I know how to validate an answer based on a regular expression. But I also want to change the validation error message from "This question must be answered correctly." to something more helpful.

Is that possible without dropping the whole validation thing into script?

Please Log in to join the conversation.

More
5 years 4 months ago #66848 by Mazi
This text string can be changed by editing the translation .


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 4 months ago #66849 by nico_8it
you should change the file en.po that is in

limesurvey/locale/en/LC_MESSAGES

Please Log in to join the conversation.

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