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

    Extracting Information from the Address Field

    Asked by TJHodge on June 03, 2012 at 12:53 AM

    In my form I used the generic Address from the quick tools in my form.  The field for this is {Address8}.  The id's in this address field are:

    #input_8_addr_line1,
    #input_8_addr_line2,
    #input_8_city,
    #input_8_state,
    #input_8_postal,
    #input_8_country

    I'm creating a automatic response email and I only want to use the #input_8_addr_line1 and the #input_8_city information in my email. What is the code to do that or how do I write it in my email so that only those 2 will show. Right now it appears that I only have the option of using {Address8} which generates all the information instead of just generating the 2 pieces of information that I want to extract.

    Hopefully that made sense. Thanks in advance for the help! The JotForm forum is truly awesome!

  • Profile Image
    JotForm Support

    Answered by idarktech on June 03, 2012 at 02:03 AM

    Hi,

    Use this:

    {Address8:addr_line1}

    {Address8:city}

    You can find more informations about it here: 

    http://www.jotform.com/help/92-How-to-Strip-Headers-from-Postal-Addresses-in-Email-Alerts

    Hope this helps. Thanks!