ValidationAttribute and Required not working?

Vote:
 

I am writing an implementation of server side validation for a property by creating a custom ValidationAttribute and I using this guid as an example

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

The problem I have is that I have also marked the property as Required and it seems like by doing that Episerver are not triggering my validationattribute when the users click create.

Are there anyone else who has made a simular implementation and got it to work?

#173106
Dec 14, 2016 14:07
Vote:
 
<p>Hi Henrik,</p> <p></p> <p>Did you solve your problem? I have similar issue and when removing Required attribute it allows to create item but later custom validator is called on Publish/Edit actions which is not perfect solution.</p>
#184655
Nov 01, 2017 14:14
Vote:
 
<p>Sadly no&nbsp;</p>
#184658
Nov 01, 2017 14:21
* 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.