Question T5723
Visible to All Users

Different validation msgs for multitext question

created 4 years ago

Hello, I have a multitext question and includes items: firstName, lastName, email, etc
My question is: is it possible to have different validation msgs for different fields?

like, if firstName is empty, shows "please provide your first name"; if email is empty, shows "please provide your email"

Clipboard-File-1.png

Answers approved by surveyjs Support

created 4 years ago

Hello,

I believe you can use custom validation on event like in this sample - https://surveyjs.io/Examples/Library?id=validators-event&platform=jQuery&theme=modern

Thanks, Serge
SurveyJS Team