ValidationAttribute and Required not working?


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

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?

Dec 14, 2016 14:07
<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>
Nov 01, 2017 14:14
<p>Sadly no&nbsp;</p>
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.