Skip to Content
Former Member
Apr 14, 2008 at 05:52 AM

Validation for date field



I have to validate the date field when it is blank. I have two buttons one to clear date and one for submit. Validation should be done on submit click.

But the problem is that when I am clearing the date Inputfield the two dots ( . ) between the date value( like if date is 24.10.2007 the after clearing . . like this is in the inputfield which is not initial ) are not clearing so that the validation code not checking date as initial.