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

http://dan.harabagiu.net/ext-js-password-validator-extension/

Any suggestions are welcomed and I hope, it helps.

PS: There is a known issue, on Firefox the event of DOMAttrModified (http://docs.sencha.com/ext-js/4-0/#!/api/Ext.Element-event-DOMAttrModified) is not thrown so the re-size of the second input field is not synced with the initial input field.

mitchellsimoens

16 Dec 2011, 8:03 AM

Why did you extend TextField? I would have created a plugin and then had a validationGroup.

digitalwm

16 Dec 2011, 8:12 AM

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?

mitchellsimoens

16 Dec 2011, 8:44 AM

You could really do this in a simple vtype even

digitalwm

16 Dec 2011, 9:24 AM

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.