Since A, L and C are used as masks in a masked text box, I was just wondering if there was a way to filter them out.

For example, say I want to number Licenses, like this:

LIC-06-###-####

Since L and C are masked characters, it will not allow me to keep it, instead it will look something like this _I_-06-000-001, which is kind of irritating. I was wondering if there was a way around this?


Thanks!

are all your licenses going to start with "LIC-" if so why not just put that part in a label outside the text box and only put the variable part of the license in the text box. Like when you see a key that is ###-OEM-###-#### it wil have textbox-label(OEM)-textbox

Thanks, but I also found that you can use escape characters, so having a mask of \LI\C-###- does the trick!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.