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 to Fill in or access Address Sub-Fields?

    Asked by crosspoint1 on November 04, 2014 at 03:32 PM

    I would like to auto-fill an address when a particular name is entered above.  For example, there are 25 customers that I consistently deal with, I would like the address to auto-populate when the name of the company is entered above.

    I tried using the condition function "when company name is ACME" then action enter [123 Main Street, New York, NY]  Output to _______.

    The issue is that the output must be the same type of field as the input.  

    I'm willing to enter the street, city, state manually for each company name.

    (1) Is there a way for me to output to the address subfields (street, street2, city, state, zip) provided by the Quicktools Address widget?  

    (2) Is there a way to access the address subfields provided by the Quicktools Address widget?  In another example, I would like the user to be able to enter a zip code and have the city and state auto-populate.  There is a city lookup widget, but I'm unable to use the output of that widget to populate a field in my form because I'm unable to grab that output and unable to specify the city field.

    I understand that one solution is to create separate Text Box fields for each address subfield.  Doing this makes the form look rather inelegant.  Is there a more efficient solution?

    Thanks in advance.

    fill name create zip code
  • Profile Image

    Answered by raul on November 04, 2014 at 05:44 PM

    Hello,

    Unfortunately it's not possible to achieve what you want using only conditional logic.

    You'll need to use the full source code of your form and a Database in order to get the address information queried from it and populate each field of the Address quick tool based on the selected client. In other words, to accomplish this you'll probably need the help of a programmer.

    If you have further questions, please let us know.
    Thanks.