URL with parameters that have spaces doesnt work

I have a signup link that is emailed to a user with parameters that can save them input. The issue is that one of the parameters is phone number that generally has spaces and the resultant url link is broken see screen shots.

Can anybody suggest workaround?

image

and result is

Hey @eric.schwantler. URL strings cannot contain spaces, so it is best to URL encode values which prepares data for use in a url. For text values, you can use the :format as modifier and choose URL Encoded.

Sample below (not using your specifics):

ok, thx

As well, if you decide not to use spaces (encoded in the URL) but want the phone number to have formatting resembling a phone number, you can use the :formatted as US phone to display it in a phone number friendly format.

1 Like

That’s definitely better for this case!

1 Like

except Australian phone number is different format to US :frowning:

updated my app, the url formatting worked a treat, thx @mebeingken

1 Like

Agreed, I think it’d be a nice low-hanging feature improvement for the @bubble team to extend the built-in formatting function to other formats aside from US.

Perhaps something following E.164 formatting?

1 Like

Localization is on our list and we will certainly consider international phone number formats as part of that.

3 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.