Skip Navigation

[Resolved] Limit Address Form to Country

This support ticket is created 5 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Author
Posts
#1369521

Tell us what you are trying to do?
Allow users to enter an address in Australia.
Must be full address. Not just city.

Is there any documentation that you are following?
There are instructions for limiting the view of maps, but these don't appear to apply to forms.
https://toolset.com/documentation/user-guides/programmatically-change-map-settings/

So, what code would I need and where should I put it? Thanks.

#1369779

Hello,

There isn't such kind of built-in feature within Toolset plugin, you might consider custom codes.

For example, this thread:
https://toolset.com/forums/topic/google-maps-limit-autocomplete-results-to-a-specific-country/

More help about Google Map "ComponentRestrictions interface"
hidden link

For your reference.

You can also file a feature request for it:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

Our developers will evaluate it.

#1371197

My issue is resolved now. Thank you!