Try our conversational search powered by Generative AI!

Episerver.Forms - Adding a validation summary into the form container

Vote:
 

Hello,

i'm attempting to add a Validation Summary into my form container (FormContainerBlock.ascx) from EPiForms (v4.0). 

Added it via Html.ValidationSummary() but doesn't populate when the client side validation fires. 

Any ideas if this is possible?

#179214
Jun 05, 2017 12:50
Vote:
 

Isn't `Html.ValidationSummary()` supposed to render server-side (ModelState) errors only?

#179230
Jun 05, 2017 20:55
Vote:
 

No i believe Validation Summaries inside of forms that include property level errors should show client side.

#179242
Jun 06, 2017 13:38
* 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.