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

  • Profile Image
    larsestrem
    Asked on November 12, 2015 at 08: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.

  • Profile Image
    Sammy
    Answered on November 13, 2015 at 02: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.

     

    Use the field like this to get teh specific values

    {address:country}

    {address:postal}

    {address:city}