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.
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.