How to map individual fields of Autocompleted Address widget to another field

  • scottingram
    Asked on August 2, 2020 at 5:35 PM

    Now... I seem to be completely missing the point of this entire widget though.

    The goal was to improve the user experience with the form and allow submitters to quickly and easily include their address details.

    However, my understanding now after looking through some other Forum threads like this one (https://www.jotform.com/answers/2217118-Autocompleted-Address-Widget-How-to-map-address-inputs-to-Infusionsoft-Keap-fields) is that there's no way to actually get at the resulting data fields that it populates? We want to be able to pass those fields over to Hubspot and then trigger workflows accordingly.

    Country for example is probably the most important.

    Is there ANY way to make that happen? Could we get that data over to corresponding hidden address fields and then base the integration on those fields?

    Otherwise we're going to have to have people enter their complete address, which is a much more significant ask and will likely reduce our completion rates.

  • jonathan
    Replied on August 2, 2020 at 5:44 PM

    Currently it is not possible to break down the Autocompleted Address widget into multiple separate fields to map each to another field in the form. This is also the same that you cannot directly map the widget as individual fields in the field mapping steps on some integrations like Hubspot, infusionsoft.

    I have submitted a feature request ticket to the development team for this. We cannot provide you any time frame as to when this will be available, but we will notify you here and in your email for any status updates.


  • pravin_s
    Replied on August 2, 2020 at 9:09 PM

    @scottingram - do you need to convert the plain text output from the widget to structured data (i.e., to an object with key-value pairs)? If so, you can trigger a Pipedream workflow on each Jotform submission to do that. Here's a workflow you can copy and run for free:

    https://pipedream.com/@pravin/convert-jotform-autocompleted-address-to-json-p_n1CgdG

    The instructions to configure and use the workflow are in the readme:

    https://pipedream.com/@pravin/convert-jotform-autocompleted-address-to-json-p_n1CgdG/readme

    The second step of the workflow runs some Node.js that you can view and edit, and it outputs the parsed address as a JSON object (each value mapped to its respective label):

    How to map individual fields of Autocompleted Address widget to another field Image 1 Screenshot 20

    You can then send that data to another app using Pipedream actions or to any HTTP or webhook destination. I hope that helps you out!