Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Episerver Forms Clientside Validation

Vote:
 

I am using Episerver forms V2.1.0.2 and I don't know how to get the clientside validation working. When I make a field required and then try to submit while it is empty, the form gets posted and validated on server side. It returns "Validation failed on "Name" field: This field is required." in the Form_Status div, but I want it to catch the error on the client side and prevent the form being submitted if the field is empty, and show the error message linked to that field.

I cannot find any video or written tutorials on how to enable this, and the other threads I found on the forum don't seem to have been resolved.

Any help would be greatly appreciated, thanks.

#178759
May 20, 2017 22:26
* 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.