I need to use an input mask for Canadian postal codes. The problem is that the 'L' character in the input mask string doesn't seem to be able to force Letter (A to Z, entry required).
Is there another way to acheive this?
I need something like:
ultraMaskedEditRemitToZip.InputMask = ">L#L #L#";
ultraMaskedEditRemitToZip.InputMask = ">A#A #A#" is close, but it allows alpha-numeric characters where I want letters only.
Hi,
Here's a link to the docs on the InputMask property and there's a complete list of all of the supported mask characters.
InputMask property
I think what you need is an ampersand (&), which indicates a required character. Or maybe a question mark (?), which is a letter, but is not required.
There doesn't seem to be an option for a required letter, though.
Hi Mike,
i have the same problem. I "required" a masked textbox with 5 Letters "MUSTE" and 5 Numerics "12345". Both required!
Example in WinForm MaskedTextBox: ">LLLLL#####"
How???
Many Thanks,
Manuel
I am also looking for this functionality. Has anyone found a resolution?