I have a dynamic form which contains DateItem and has useTextField set as true. I want to validate the entry in this textbox. I want to make sure that text typed in this textbox should conform to date in(mm/dd/yyyy) format.
I did not find any validator for this. Please tell me how to go about it.
Secondly, I found compareDate method in smartclient reference. How should I call this method to compare two dates.
As far as using compareDate(), you could do that anywhere you’d like, but presumably you’re trying to put together a custom validator. See this thread on how to do that: