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
235
Ultra MaskedEdit and leading zeroes
posted

I am trying to format an Australian phone number with the UltraMaskedEdit control in the following way

nnnn nnn nnn

9999 999 999

#### ### ###

I can input using any of these input masks, but the phone numbers in Australia have leading zeroes i.e. 0419 999 999.  Since the user must dial the zero, I need the leading zero to be displayed.

How can I input this number and not have the data in the control shift left because of the leading zero? The data is defined as a numeric with 11 digits total.

Keep in mind that the application must also store U.S. phone numbers also.

Thanks

Larry Burns

 

Parents Reply Children