View Full Version : form field warning

1 Mar 2010, 10:44 AM
I need to show warnings on form fields ( especially combined with remote-validation ).
the warnings will shown like the errors ( of course styled differently ) but will not affect field validity.
couldn't find anything similar on the forum.
any ideas / suggestions /tips for me , before i'm developing it ?
promise to share the final result ;)

btw - using ext3, but ext2-related comments will also be great.

tnx :)

1 Mar 2010, 12:28 PM
You can use Ext.form.Field's markInvalid method. It will not prevent the field value from submitting if used by itself. I'd listen on each form field's "change" event and use markInvalid.