Apr 08, 2013, 1:09 PM
Datefield with format and allowblank doesn't pass the validation
Hi,
I have the following issue. When i have a datefield on my form with the following settings: allowblank = true and format is for example 'dd/MM/yyyy'.
When i press the save button of my form, i do a before click handler that checks if my form is valid. But when i don't fill in anything in the datefield, then the form remains invalid, but it should be valid...
Thanx!
I have the following issue. When i have a datefield on my form with the following settings: allowblank = true and format is for example 'dd/MM/yyyy'.
When i press the save button of my form, i do a before click handler that checks if my form is valid. But when i don't fill in anything in the datefield, then the form remains invalid, but it should be valid...
Thanx!