A
AmandaH
Ok so here the problem, I know how to set the form field such that it
will produce a phone number in the form (###) ###-#### when the user
enters 10 digits. However what is wanted is that the user will be about
to enter any comin type of phone number and and it will reformatted as
(###) ###-####
Example:
(555) 555-5555 - stays the same
555-555-5555 - becomes (555) 555-5555
555 555-5555 - becomes (555) 555-5555
5555555555 - Becomes (555) 555-5555
The only one I seem to be able to get working is the last one and this
only works when I have the length of the form field set to 10.
Otherwise for all the rest I get an error msg stating that I have an
invalid number.
Is there a way to format this field so that it will take any normally
telephone number style and covert it to (555) 555-5555? A Marco
somewhere?
Thanks,
~Amanda~
will produce a phone number in the form (###) ###-#### when the user
enters 10 digits. However what is wanted is that the user will be about
to enter any comin type of phone number and and it will reformatted as
(###) ###-####
Example:
(555) 555-5555 - stays the same
555-555-5555 - becomes (555) 555-5555
555 555-5555 - becomes (555) 555-5555
5555555555 - Becomes (555) 555-5555
The only one I seem to be able to get working is the last one and this
only works when I have the length of the form field set to 10.
Otherwise for all the rest I get an error msg stating that I have an
invalid number.
Is there a way to format this field so that it will take any normally
telephone number style and covert it to (555) 555-5555? A Marco
somewhere?
Thanks,
~Amanda~