1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    Munich, Germany
    Posts
    14
    Vote Rating
    0
    digitalwm is on a distinguished road

      0  

    Default Simple password double validation field

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,074
    Vote Rating
    854
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Why did you extend TextField? I would have created a plugin and then had a validationGroup.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Location
    Munich, Germany
    Posts
    14
    Vote Rating
    0
    digitalwm is on a distinguished road

      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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,074
    Vote Rating
    854
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    You could really do this in a simple vtype even
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Sencha User
    Join Date
    Nov 2011
    Location
    Munich, Germany
    Posts
    14
    Vote Rating
    0
    digitalwm is on a distinguished road

      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.

Thread Participants: 1