What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

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

    Asked by larsestrem 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.

    Page URL:
    http://www.firedepartment.net/nevada-volunteer-firefighter-application<br/>.html?applicant-mailing-address[state]=Nevada&amp;applicant-mailing-ad<br/>dress[country]

    selected section sub sub fields
  • Profile Image

    Answered by Sammy 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}