How to Fill in or access Address Sub-Fields?

  • crosspoint1
    Asked on November 4, 2014 at 3: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.

  • raul
    Replied on November 4, 2014 at 5: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.