November Happy Hour will be moved to Thursday December 5th.

Forms: How to set Validations message at client side on built in form elements

Vote:
 

Hi,

I am using EPi form 4.4.2. I am creating forms with built in elements like Textbox, Numbers using regex etc. I want to set validation error message at client side for these elements when user tries to submit or on text fileld change. How can I do that. Do I need to create custom validation by coding or is there any inbuilt functionality in EPi forms for Validation error messages.

Thanks.

//Sanket Mahimkar

#183381
Oct 12, 2017 13:38
Vote:
 

Does this thread solve the problem? https://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=181567

#183392
Oct 12, 2017 16:41
Vote:
 

Hi Bob,

Thanks for the reply.

I dont think this will solve my problem. What I want is for these built in elements, editors shuld be able to set error messages for each field. It may vary depending upon for which textbox is used. For example if textbox is used for Name then error message should be like 'Please enter name' etc. Also for regex the error message will vary. So what I want is along with validator type there should be a textbox besides that where editor can set error message.

//Sanket Mahimkar

#183439
Oct 13, 2017 11:38
Vote:
 

Hi,

Actually, there is a feature request that do the same your requirements. But I don't know when we could release it. So, if you need it in this time, you have to write your own elements and validators.

/DT

#183547
Edited, Oct 17, 2017 12:03
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.