I would like to have a bool field and and a string field in my Model and not having any validation attributes on them. But in the view I would like to have the required field validation on the Editor if the Checkbox is checked.
How do I do this please?
Thank you.