Date Validation in R5
Posted on 1999-10-28
We have a date field in a layout region and would like to restrict only date values to be entered and not any other characters. it allows any character to be typed in the field, but performs its own built-in validation and displays 'Unable interpret time/date value'. we want to trap that and display our message. we have tried input validation, field exiting event etc. If we set the initial value of the date field as "" when calling the dialogbox, the error message appears. if we set a date as the initial value, the initial date is taken as the value for that field, even though we type some characters into it.
How to validate this date field with our error message?