PDA

View Full Version : How to enable DatePicker after validating a date field



psramek
22 Mar 2010, 6:46 AM
If user enter incorrect date to a date field and click to DatePicker icon, he is able to select date from datepicker.

If user enter incorrect date to a date field and tabout the field validation error message appears which is OK, but if he click on the DatePicker error message appears again.

I would like user to be able to manually reenter the date and also enable to datepicker button in case the user did not want to manually reenter the date, they then could select from the calendar.

ExtJs version 2.2.1

Any ideas? Cheers