November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Fixed it with the help of episerver support:
Each different error message should have a different property name.
This is an example for the bad code:
This is an example for the good code:
Hello,
I'm facing a weird issue here. I have a page that contains some properties with the [Required] attribute and some other properties that are validated using a custom validator.
I tried to create the page filling only the [Required] props. Next, I tried to publish it without filling the properties validated by my custom validator (three props). I have only one error instead of three (checked the code, my list contains three errors). Seems like the last error added to list is displayed. If I try to fill one of the props, on focus out, the validation process is ran again and the correct amount of errors are shown. After this point, the list of errors displayed is fine.
Can someone please confirm me this in an EpiServer bug?