Is it possible to restrict acceptable addresses with the Driving Distance widget?

  • Profile Image
    OndaGuey
    Asked on November 13, 2018 at 02:22 PM

    Perhaps by creating the zone on your map that you provide the api for? I am going to look further into it, but maybe there is a way to create a map with a geocoded zone, that is told to neglect everything but the zone.

  • Profile Image
    Richie_P
    Answered on November 13, 2018 at 04:04 PM

    Unfortunately, there is no option to restrict the address input in the Driving distance widget.

    Conditions will also not work on the widget.

    Hope this information helps.

    If you need further assistance, let us know.


  • Profile Image
    OndaGuey
    Answered on November 13, 2018 at 07:24 PM

    How did you get it to say Invalid result like that? Is that just because test is not an address at all? I would like that to happen for all addresses outside of Tucson, AZ

  • Profile Image
    OndaGuey
    Answered on November 13, 2018 at 07:26 PM

    I thought maybe a condition such as "if 'where is your cargo going?' does not contain 'Tucson' then populate calculation 'Out of Zone' in 'where is your cargo going?' field"

    Is there no way to make something like this work?

  • Profile Image
    Kiran
    Answered on November 13, 2018 at 09:40 PM

    How did you get it to say Invalid result like that?

    The error is related to Google API limits which is displayed due to the overliimit of the API key used on the form.

    Is there no way to make something like this work?

    Unfortunately, the answer is no. Since the driving widgets works based on the Google search results and the result sent by the widget is only the distance number, it is not possible to set any conditions with the widget.

    Hope this information helps!