Postal Code Search Widget

  • matchwithpollie
    Asked on April 20, 2020 at 9:42 PM

    Hi JotForm Community!

    When using the postal code search widget - I want to then create conditional logic from the country that is selected in the widget. Is there a way to parse out the country specifically - (see example below of what returns using this widget)?

    Country: United States (US) Postal code: 60654 City: Chicago

    When I try to create a calculated field based on this widget it only pulls in city (see screenshot and below). 

    If Postal Code Search  STATE Is Filled 

    DO Copy a Field's Value FROM Postal Code Search TO Result_LOCATION 

    Are there any other widgets that could be used for this purpose? Ideally I would like to easily collect in one widget Country, State, and Zip (without using geo-location features). And then create conditional logic so that if a user selects certain countries (for example US, Canada, Australia) they will receive different questions than users who select other countries (for example France, Spain). 


    Jotform Thread 2272732 Screenshot
  • Elton Support Team Lead
    Replied on April 21, 2020 at 12:37 AM

    I'm afraid that's the only widget with that specific features. When you use it on the condition, it only outputs the result which is the City. Have you tried the Address field with Autocomplete?

    Example:

    Postal Code Search Widget Image 1 Screenshot 40

    Then you can pass this to Form Calculation Widget where you can use it in your condition.

    Example:

    Postal Code Search Widget Image 2 Screenshot 51

    Postal Code Search Widget Image 3 Screenshot 62