PDA

View Full Version : Form Input Mask



sgentile
26 Dec 2008, 12:22 PM
I'm currently using jQuery input mask plugin -but was wondering if Ext would consider adding one?

fieldLabel:'Phone',
id: 'phone',
name: 'phone',
allowBlank: false,
mask: '(999) 999-9999'

Something along those lines. There is a 'mask' property, but it doesn't appear to work or be the type of mask I'm thinking of.

For now, I just use jQuery after the form is created... ie.
$("#phone").mask("999-999-9999");

I also have a custom plugin for money.

I would thing these types of input masks are in high demand for anyone building forms. I know just about every project I have uses them

Thanks.

evant
26 Dec 2008, 2:47 PM
There's a plugin that does this, check out the user extension forums for it.

piston
3 Jan 2009, 9:15 AM
here it is, it's nice
http://extjs.com/forum/showthread.php?t=21040