Request phone number in England - how to change to Australia

My chat bot - defaults to to England for user phone numbers. How to I change to default to Australia?

2 Likes

Hello there, @Michael_Paulse :waving_hand:

Unfortunately, the AI Chatbot app doesn’t have an option to set the default country code, but we have a request for this feature. You can upvote it here - Set default country code phone manually.

The good news is that you can set the default country code using this code in the Custom JS field on the Settings tab of your widget’s settings:

widget.collectContactsForm.setFieldValue('phone', '+44');

Just replace +44 with the desired country code and you’ll be fine :wink:

Note: Custom JS only works on the live site after the widget is installed —it won’t run inside the widget editor or preview.

1 Like

Awesome thanks

2 Likes

No sweat!

Don’t hesitate to contact us again if you have any questions. We’ll be delighted to help :wink:

1 Like

In the meantime, we’d like to invite you to participate in our new contest, where you can win a 6-month extension for your subscription - February Contest: Guess What’s Missing in Our Photo and Win 6 Months FREE! :wrapped_gift:

Check the details and join in :wink:

1 Like