ValidatorDefinition not firing for custom fields

Posted by Community Admin on 03-Aug-2018 08:43

ValidatorDefinition not firing for custom fields

All Replies

Posted by Community Admin on 22-May-2012 00:00

We are having an headache to figure out how to use ValidatorDefinition for our custom fields in the Registration Form widget's (sitefinity 4.4)

I already post a comment on an existing post in the SDK forum (but for me it is not in the good forum) http://www.sitefinity.com/devnet/forums/sitefinity/sdk/validatordefinition-not-firing-for-custom-fields.aspx 

1) We are not able to valide the field Firstname and Lastname : 
Adding a <ValidatorDefinition MessageCssClass="sfError" Required="true"/> in the template don't fire the field validation
2) We have also a custom field  "country" as ChoiceField which don't fire the validation either

How can we manage the validation on theses fields ?
 

This thread is closed