Results 1 to 5 of 5

Thread: Simple password double validation field

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    Munich, Germany
    Posts
    14
    Vote Rating
    0
      0  

    Default Simple password double validation field

    Hi everybody,
    another simple extension. I use it at creation of new user account.

    http://dan.harabagiu.net/ext-js-pass...tor-extension/

    Any suggestions are welcomed and I hope, it helps.

    PS: There is a known issue, on Firefox the event of DOMAttrModified is not thrown so the re-size of the second input field is not synced with the initial input field.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    Why did you extend TextField? I would have created a plugin and then had a validationGroup.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Location
    Munich, Germany
    Posts
    14
    Vote Rating
    0
      0  

    Default

    Could be an approach, but to use a validation plugin or group, the user must ensure that adds both text fields, and than assign the plugin. I preferred as a form field, to ensure, that once added it does the rest .

    But I guess in my "study and develop" process I could use a different approach. Care to recommend a good plugin development documentation?

  4. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    You could really do this in a simple vtype even
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  5. #5
    Sencha User
    Join Date
    Nov 2011
    Location
    Munich, Germany
    Posts
    14
    Vote Rating
    0
      0  

    Default

    I know about the vtype, but I was aiming for simplicity. I guess I will continue with a poll extension of a form in my wandering around Ext JS.

    Thanks again for suggestions.

Posting Permissions

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