Add Austria and Switzerland to the country list for the Phone field

There are 3 German speaking countries: Germany, Switzerland and Austria - there is only Germany listed and no Switzerland +41 or Austria +43

So it’s also not possible to set the correct language (Germany = de | Switzerland = ch | Austria = at) domains

2 Likes

Hi there and welcome to the Community, @Reinhard_Fust :waving_hand:

I’ve forwarded your request to the devs and will report back once these countries are added to the list :slightly_smiling_face:

1 Like

There are three languages ​​available in Switzerland: Italian, German, and French! I’m having a major problem with the websites I manage in Switzerland. The Italian prefix is ​​now appearing, and customers are getting really annoyed.

2 Likes

Hi there, @Jvan_Bontognali_Opif :waving_hand:

I am genuinely sorry for all the inconvenience!

I’ve shared your feedback with the dev team, and they’ll add the requested countries to the country code list soon. We’ll keep you updated!

Thank you for your patience and understanding :folded_hands:

1 Like

There should also be the option to disable other countries. What’s the point of including Iran, Bangladesh, Japan, etc. when they’re a local entity operating within a 50km radius? A ridiculous and inconvenient result.

2 Likes

Sorry guys, but you’re causing enormous damage to my business. I use these forms for many sites that invest thousands of Swiss francs a month in advertising campaigns, and now with this change (since Switzerland isn’t available), the phone number field can’t be filled out, and obviously the form isn’t sent. You’re responsible for this. I reserve the right to seek compensation if a client of mine claims damages.

1 Like

I have temporarily added a normal number field (#) to my form, which is a workaround that solves the problem for me at the moment.

2 Likes

@Jvan_Bontognali_Opif I completely understand your frustration, and I’m really sorry for the trouble this has caused :pensive_face:

Our devs have already made a list with the missing countries for the Phone field, and they’re working on adding them. If all goes well, they’ll be available really soon. I’ll update you right here as soon as I hear back from the team.

As for your suggestion to choose which countries should appear in the dropdown, that’s a great point! I’ve added it to our Wishlist - Option to choose which countries should appear in the Phone field dropdown . If more users support it, it may be considered for a future update.

In the meantime, if you’d like, our devs can help you exclude specific countries from the dropdown list using custom code. Just let me know which countries you’d like to remove.

If you’d prefer not to use the Phone field (even once the Swiss flag is added), you can opt for the Number field, as @Reinhard_Fust suggested. It works just like the Phone field did before the update.

I noticed you have around 40 Form widgets, and if you need any assistance with replacing the Phone fields with the Number fields, just let us know. We’re happy to help!

However, we’re hopeful that the devs will be able to fix everything soon, and that you’ll enjoy the new features to the fullest!

2 Likes

Hey there, @Reinhard_Fust, @Jvan_Bontognali_Opif :waving_hand:

Thank you for waiting!

We’ve finally added the country codes of Switzerland and Austria to the widget:

At the moment, there is no way to make these countries default right in the settings, since German language for Austria and German/Italian/French languages for Switzerland are not available in the widget’s settings.

We do have plans to add these languages in the future and I’ve added these suggestions to the Wishlist on your behalf:


The good news is that we have a custom solution to make a specific country default in the Phone field. For this, you just should add the script of this format to the Custom JS field on the Settings tab of your widget’s settings:


widget.setFieldValue('[telefonnummer]', '+41');

In this script, you should replace:

  • telefonnummer with the Field ID of the Phone field on your widget. The field ID depends on the field label and you can find it here:

  • +41 should be replaced with the code of the country you’d like to display by default

Once you add the relevant info to the code, paste it to the Custom JS field.


Note: Custom JS doesn’t function in the preview mode, so you can check the result right on your website.


@Jvan_Bontognali_Opif I see that you have a large number of Form widgets and our devs would be happy to add the script for a default country code to the widgets, where it’s needed.

In order to do this, could you please share the names of the Form widgets and which country codes you’d like to display by default?

4 Likes

Hi there

First, it seemed to work – but:

I did see there is still a small problem. The field “Telefon Mobil” is defined as “Required Field” – you can see the asterisk: https://www.respect4acting.com/kontakt.html

But somehow, you see it, when you click on send, is probably the Custom JS that now overwrites the required task. So the field isn’t required anymore …

Greetings

Reinhard Fust

1 Like

Hey @Reinhard_Fust,

Stepping in for Max to help you with this one :waving_hand:

So sorry for this oversight! I already forwarded your findings to the designated developer to provide a fix for you. We’re trying to resolve this as soon as possible :folded_hands:

Stay tuned for the news!

Hi there, @Reinhard_Fust :waving_hand:

Thank you for waiting!

I am happy to say that the issue has been resolved, Please check your widget and let me know if everything is fine now :slightly_smiling_face: