Hello everyone,
First time using CFv6! In v5 I always added the following mask for phone number fields:
I found a thread with a CFv6 phone mask so I changed the code to mirror that with the colon instead of equal sign:
- The field loses it's formatting on the front end and becomes at small box
- Turning on phone number makes the field impossible to submit (I suspect because phone is tied to the mask integrated in the form, which has 1+ before the number (we don't use that format here in the US)
- The type=tel which tells mobile devices to bring up the number keypad doesn't work
Here's a link to the form: http://cslftlauderdale.org/new/contact
Thanks in advance for your help!
Jose
EDIT: Not sure how I tagged Connectivity. This post is for Chronoforms v6
First time using CFv6! In v5 I always added the following mask for phone number fields:
data-inputmask='mask' : '999-999-9999'To validate I would make the field required and checked phone number in the validation tab.
type=tel
I found a thread with a CFv6 phone mask so I changed the code to mirror that with the colon instead of equal sign:
data-inputmask:'mask' : '999-999-9999'The mask does display ok, but it's not working correctly, as follows:
type=tel
- The field loses it's formatting on the front end and becomes at small box
- Turning on phone number makes the field impossible to submit (I suspect because phone is tied to the mask integrated in the form, which has 1+ before the number (we don't use that format here in the US)
- The type=tel which tells mobile devices to bring up the number keypad doesn't work
Here's a link to the form: http://cslftlauderdale.org/new/contact
Thanks in advance for your help!
Jose
EDIT: Not sure how I tagged Connectivity. This post is for Chronoforms v6