ActiveCampaign Forum

How to make Form Phone fields number inputs only


How can we make the phone number field only accept numbers? currently, people can write text in the phone number field which doesn’t help. I know other forms that use 0-9 digit codes to make sure numbers are entered. Can we get this in active campaign?


I think this will be a non-trivial request…

  1. People will have been using this field to capture country codes - i.e. a + symbol
  2. People will have been inserting a space in the field so that when it’s exported to something like Excel it’s not treated as a number and stripped of a leading zero.
  3. You can’t use a straight number field or you’ll lose the leading zero.

So what you’re asking might well break the field for everyone else.