How do I pull selected sub fields from the address input section?

  • larsestrem
    Asked on November 12, 2015 at 8:27 PM

    I am using the "quick tool" address tool to collect addresses.  I am trying to pull just the address and zip code from all the fields in the address.  Then I want to insert these two fields into google maps on the notification email.  Using {address} alone in the Google maps "location", it produces:

    "StreetAddress:%20222%20Main%20Street%3Cbr%3ECity:%20Chico%3Cbr%3EState:%20CA%3Cbr%3EZip%20Code:95926%3Cbr%3ECountry:%20United%20States%3Cbr%3E"

    This includes the headings and he inputs.  I want to pull just selected fields without headings while using this address tool.  Is it possible?

    The syntax Ex: "%20" for a space does not cause a problem for google maps.  Just the headings.

  • Sammy
    Replied on November 13, 2015 at 2:27 AM

    You can pull the field values by appending the name of the sub field to the {address} parameter.

    To get the names of the particular field refer to the properties of the address input.

    How do I pull selected sub fields from the address input section? Image 1 Screenshot 30

    How do I pull selected sub fields from the address input section? Image 2 Screenshot 41

     

    Use the field like this to get teh specific values

    {address:country}

    {address:postal}

    {address:city}