PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Phone Number Input/Display Mask
Phone Number Input/Display Mask
Iniciado por c.curtis, 14,feb. 2015 00:08 - 1 respuesta
Miembro registrado
18 mensajes
Publicado el 14,febrero 2015 - 00:08
Is there any built in input/display mask for phone numbers? I would like for the user to be able to enter 1234567890 and have it automatically display as (123) 456-7890.
Miembro registrado
18 mensajes
Publicado el 16,febrero 2015 - 15:56
I changed Phone to a string and programmatically changed the ..inputMask and ..displayMask to "(999) 999 - 9999". I had to change the ..displayMask at the end of the window initialization.