Answered
Similar to the option to validate e-mail address format – Have need to validate phone number format (763) 123-5555 – have issues where users’ type either too few or to many numbers.
11
Comments
Post is closed for comments.
2024 Update:
The Community is getting cleaned up! If you are stumbling across this post after September of 2024, this is the most recent solution or answer to the request in this post.
This is not planned at this time. This post will be updated if anything changes.
However, Sara's solution using Field Masks below could be a workaround. To learn more, visit the Help Center article, "Adding a Field Mask" and "Can I require that mobile users provide a response in a specific format in the Builder?"
Related to this:
https://help.gocanvas.com/hc/en-us/community/posts/360000172668-Making-phone-calls-directly-from-app?page=1#community_comment_360000176988
Hi John,
I had an inspiration for a work-around this morning while getting ready for work. It's not a perfect solution, but might work in this instance where people aren't getting the right number of numbers.
You could do a short text field and then use the field mask option (under more in your field settings) with the value of: 0000000000. That won't get you the formatting with the parenthesis and dash (you could do that, too, but it would be ?000?000?0000), but would force a 10-digit entry.
It would look something like this:
Field masks are pretty cool and very underutilized. More info here: https://help.gocanvas.com/hc/en-us/articles/115007235308.
I'm going to shut off comments on this one because of the previous feature request, but wanted to get this up there in case it's helpful to anyone. Keep on voting on this request: https://help.gocanvas.com/hc/en-us/community/posts/360000172668-Making-phone-calls-directly-from-app?page=1#community_comment_360000176988.