Quote Originally Posted by DigitalSkyline View Post
I know this is probably a dumb question, but how do I simply limit the number of characters in a field?
Thanks for the question that has revealed a bug in the code. Take the latest version in the first post and for a control over the number of characters you can do this:

Example 1 - 3 numeric values:
new Ext.form.TextField({plugins: [new Ext.ux.InputTextMask('999', true)]});

Example 2 - 4 alphanumeric values:
new Ext.form.TextField({plugins: [new Ext.ux.InputTextMask('AAAA', true)]});

Example 3 - 2 character (all kinds):
new Ext.form.TextField({plugins: [new Ext.ux.InputTextMask('X.XX.X', true)]});