I want to be able to restrict the Date entered into an input field of type text to two dates in time, a range basically. I'm new to razor syntax and I can only guess at this stage as I am not able to find a satisfactory explanation online.
Here's what I've got...
Validation.Add("dateFounded", Validator.Range(1/1/2015, 1/1/2016,"Error in Date"));
Its a brief idea (completly wrong) of what I want to do and I'm aware the Range validator is not the validator to use.