JadeEditMask Alpha or Numeric Character Only

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

JadeEditMask Alpha or Numeric Character Only

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:23 pm

by Carl >> Mon, 6 Oct 2008 22:57:24 GMT

Hello,

I have a question about the mask property on the JadeEditMask control. I want to be able to specify that i want an Alpha (a-z) or Numeric (0-9) character only. The Jade documentation only mentions that i can specify it to be Alpha only using A or Numeric only using 9.

I essentially want the mask to cater for the following entries, where X is an alpha character.
1234567X
1X34567X

Is there a way to be able to specify this using the mask control?

Thanks,

Carl

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: JadeEditMask Alpha or Numeric Character Only

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:23 pm

by BeeJay >> Tue, 7 Oct 2008 0:28:30 GMT

You can, but it will be a long mask for the two positions where you want to allow 0-9 or a-z characters but no other characters to be typed:
9C|0123456789abcdefghijklmnopqrstuvwxyz|99999C|0123456789abcdefghijklmnopqr stuvwxyz|

Of course, if you want to allow A-Z, ie: capitals, then you'll need to add those into the mask between the | of the character specifications for each position as well.

Cheers,
BeeJay.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 30 guests