Validate backendusers inputfields

Vote:
 

Hello,

I am new to Episerver.

Were should I look for more information on validating editors/backendsusers inputfields.

I need to make som validation on this:http://screencast.com/t/si27US3Fr So that if the user check the checkbox the other fields in the formular must also be filled to validate.

Kind Regards
Lasse

#139483
Oct 03, 2015 16:22
Vote:
 

Have a look at writing custom validation attributes.

http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-CMS/9/Content/Properties/Property-types/Writing-custom-attributes/

#139484
Oct 03, 2015 17:41
Vote:
 

You could write your own custom validator by implementing the IValidate<T> interface

http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-CMS/9/Content/Validation/

#140337
Oct 16, 2015 10:42
* 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.