Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
55
UltraMaskEdit force letter (A to Z, entry required)
posted

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.

 

Parents
  • 469350
    Suggested Answer
    Offline posted

    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.

Reply Children