PDA

View Full Version : Ext 1.1 Datefield format behaviour



Axe
2 Nov 2007, 5:27 AM
Hi,

i'm using a Datefield and a Textfield in a form.
I have set regex and regextext on the Textfield and it works fine i.e. whenever the regex is not respected, the regextext is displayed and the form cannot be submitted (clicking on the submit button does not do anything until the regex is respected again).

Using the Datefield and setting up its format attribute, whenever the format is not respected the error message is shown , but in this case, the form can still be submitted (clicking on the submit button does submit the form).

Have I missed something in the way I use the Datefield and format attribute, or is actually a bug?

Thanks in advance.