Answered

Is it possible to exclude country code when passing phone number as a URL parament?

  • 30 January 2022
  • 2 replies
  • 518 views

Using typeform with ScheduleOnce. I am able to successfully pass name, email and phone to our schedule once booking page so those fields are auto filled.

HOWEVER… since ScheduleOnce has a seperate field for “Country Code”… it errors out when phone number includes the country code.

For example:

555-555-5555 works great

+1 555-555-5555 causes an error in ScheduleOnce and the user must manually remove the country code.

Is excluding the country code when passing the phone parameter possible? Or better, is it possible to pass the country code and phone number as two separate parameters

EXAMPLE:  site.com?country_code=%2B1&phone-555%20555%205555

icon

Best answer by mathio 31 January 2022, 16:55

View original

2 replies

Userlevel 7
Badge +5

Hi @MoveThinkSmile Welcome to the community! It isn’t possible to exclude the country code in the recall feature. 

@mathio you don’t happen to know any workarounds for this by chance? 

Userlevel 7
Badge +5

I am not aware of any workarounds.

The only solution that comes to my mind would be capturing the response by a custom service (via Webhooks API or Responses API) that will parse the value (split phone number and country code) and pass that to the 3rd-party service (ScheduleOnce).

Reply