I have a date field which is of "CustomType". It has a validation in the 'Validation' field with this Regex ^(?!\s*$).+ I need to edit this field in Item through Experience Editor.
I have created a CustomExperienceEditorButton and added the field. Then tagged the custom button in a Rendering.
When I open the page in Experience Editor Mode and click on the Custom Button the field is Coming.
If I edit the field and click ok for the first time it works fine and is not able to save the field's value. But once it gets the validation error if i am not giving correct value then it constantly shows the validation error message.
So it seems as soon it gets the validation error it is storing it some where. Is there a way i can reset the validation for the field in sitecore.context, so that when the field is updated the error message does not repeats.