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

Episerver form custom validation message for each field

Vote:
 

Hello Episerver experts,

Does anyone know if we can customize a validation message for each field? Now I have 2 textboxes (Name, Email), those are required. When I click a submit button without input information those fileds, then the validation message show up "Field is requied" (Standard episerver form). 

But I would like to have the validation message for show specific field name. Like "Name is required" and "Email is required".

Waiting to hear from any helps. Thanks

/Katharina

#181567
Aug 24, 2017 14:34
Vote:
 

It will be very surprising if this will not work 

[Required(ErrorMessage = "Your Error message")]
YourField
#181580
Aug 24, 2017 15:50
* 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.