Try our conversational search powered by Generative AI!
AI OnAI Off
Just add custom validation to the property using the validation attributes: http://www.david-tec.com/2012/06/EPiServer-7-Preview---Using-validation-attributes/.
Frederik
Is there any way to stop a user from making a int property non-negative in EPiServer?
There is a tool for visitorGroups (DojoWidget) that can constraints the input field to not go lower than a specified value. This tool does however not work with a regular EPiServer property.
The range attribute can fix so user can't save if he inputs a value lower than what's specified, but I want to find a way to stop the user before this.