Results 1 to 2 of 2

Thread: disableOnHide on Form Fields

  1. #1
    Sencha User
    Join Date
    Apr 2014
    Posts
    21
    Answers
    2
    Vote Rating
    1
      0  

    Default disableOnHide on Form Fields

    Can anyone please tell me where the disableOnHide() method is? I searched 4.2 API doc, didn't find it. I saw it from this post: http://www.sencha.com/forum/showthre...ue-Form-Submit.

    Thanks in advance for your help.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716
    Vote Rating
    504
      0  

    Default

    I can see a case for a disableOnHide: true
    A point was being made for a possbiel need for that property

    Perhaps submitValue config will be of use?
    http://docs.sencha.com/extjs/4.2.2/#...fg-submitValue

  3. #3
    Sencha User
    Join Date
    Apr 2014
    Posts
    21
    Answers
    2
    Vote Rating
    1
      0  

    Default

    What I really need is to disable the form fields validation when the form fields are hidden. And enable validation when the fields are visible.

    Do you have a recommended way to do it? Maybe override the Ext.form.field.Base isValid method?

    Quote Originally Posted by scottmartin View Post
    A point was being made for a possbiel need for that property

    Perhaps submitValue config will be of use?
    http://docs.sencha.com/extjs/4.2.2/#...fg-submitValue

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
  •