View Full Version : How to set maskRe in Ext Designer

26 Jul 2010, 10:51 PM
how can I set the maskRe property of TextField in Ext Designer? I want to allow only digits.
Iīve tried:
{[0-9]}: This throws an exception while starting my form
[0-9]: This says "this.maskRe.test is not a function" when I press any key in my TextField
Several other attempts also didnīt work.
What is the syntax for all these properties that expect an object?

27 Jul 2010, 4:43 AM
Hi htammen,

The properties that expect an object or array, you enter the values exactly as you would in script. I have fixed a bug regarding regex entries in the latest relese,, so please update. You then would enter the value as such: /\d/ or the longhand version /[0-9]/


27 Jul 2010, 4:56 AM
thank you very much. After updating Ext Designer itīs working. Good support

27 Jul 2010, 5:01 AM
Great to hear, thanks for letting me know.