Autocompleted Address Widget: Restrict country on Autocompleted Address Widget

  • Profile Image
    amitchell
    Asked on February 12, 2018 at 12:21 AM

    Hi


    Im trying to restrict the Autocompleted Address Widget to only Australia, or even just South Australia.

    I have added the following to custom css with no success

    function geocodeAddress(geocoder, map) {
            geocoder
    .geocode({
              componentRestrictions
    : {
                country
    : 'AU',
               
    }


  • Profile Image
    tina
    Answered on February 12, 2018 at 07:24 AM

    Unfortunately, you are not allowed to manage the widget since this Google Maps API JavaScript codes cannot be implemented to it. The only customization that is allowed for widgets is to customize design which can be achieved by injecting custom CSS to JotForm widgets.

    I will escalate your thread as a feature request. Please note that we can not guarantee the timeframe to when this feature can be integrated since it highly depends on the viability of the feature, the number of similar requests we get and our developers' workload.

    You will be notified via this thread once there is an update.