Results 1 to 2 of 2

Thread: form field warning

  1. #1
    Sencha Premium Member MichaelOstrovsky's Avatar
    Join Date
    May 2008
    Location
    Tel Aviv, Israel
    Posts
    144

    Default form field warning

    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

  2. #2

    Default

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •