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

    Separating Address field data

    Asked by stevenkessler on August 05, 2016 at 01:13 PM

    Can it capture separate fields for street, city, state, and zip when using the Address field?  Or do I need to delete that and add the Street field, City field, State field, Zip field separately to me form?

    address field separating field data and OR capture
  • Profile Image
    JotForm Support

    Answered by Kevin_G on August 05, 2016 at 02:29 PM

    It can be separated, this code will help you to get the value of each field: 

    {address:addr_line1}

    {address:addr_line2}

    {address:city}

    {address:state}

    {address:postal}

    {address:country}

    You will need to replace the "address" with the name of your field, this guide will help you to get the name: How-to-find-field-IDs-and-names

    You may display each field on the Thank You Page, Email Notifications or send it through URL to another form or page.

     

  • Profile Image

    Answered by Steven Kessler on August 06, 2016 at 11:01 AM

    Thank you, Kevin.

    My goal is to allow Zapier to call each of the address fields separately and pass each on separately.  I tried putting your field codes into zapier's matrix, but they didn't work.   Can you show me how Zapier can plug into the individual address fields in JotForm?

  • Profile Image
    JotForm Support

    Answered by Jim_R on August 06, 2016 at 01:07 PM

    Hi Steven, I'm afraid you can't push the Address Field separately to Zapier. The solution given out by my colleague only applies to the following:

    1. Display each field, separately, on a Thank You Page

    2. Display each field, separately, on Email Notifications and Autoresponders

    3. Or send it through URL to another form or page

    Our Zapier trigger fetches the Address Field as a whole (treating it as a single field) along with all the other details of the submission.

    If you wish to fetch them separately in Zapier, then the only workaround is to create your own textboxes for the complete address separately.

    You mentioned "I tried putting your field codes into zapier's matrix". If you could tell us to which platform you're setting up your Zap, we would better understand what your end goal would be. Or better yet, kindly explain to us your workflow and why you need to separate the Address Fields.

    Perhaps me and my colleagues can come up with a better workaround (if any). Hoping to hear from you soon.

  • Profile Image

    Answered by stevenkessler on August 06, 2016 at 02:10 PM

    Thanks for your help.

    I want to separate the different address fields so that in the future I can filter my contact list by state, city, or zip.  When promoting live events, it will be better to aim my marketing emails at people who live in the region, than at the entire nation.

    Unless you have a better workaround, I will create my own textboxes for each of the address fields.

  • Profile Image
    JotForm Support

    Answered by Jim_R on August 06, 2016 at 02:52 PM

    Thanks for getting back to us so quickly and for that bit of background on why you need the address fields separately :)

    To be honest, the best and most ideal approach is to use separate textboxes for your address fields. I took my time and fiddled around a handful of widgets related to addresses, checked them as a trigger in Zapier and all of them consolidate the fields into one single field.

    So, creating your own textboxes will be the way to go. In case you would need help with that, feel free to create a separate thread here so we can assist you.