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

    Update Address fields if radio button condition is met

    Asked by NGHS on February 28, 2017 at 11:30 AM

    Hello! I need automatically insert an address into address fields when a radio button is selected. So far, I have tried using the conditional update field. This hasn't worked so far. Thanks for the help!


    (See screenshot for clarity)

  • Profile Image
    JotForm Support

    Answered by BDAVID on February 28, 2017 at 01:24 PM

    If you need to update the value from one field to another, here is how: https://www.jotform.com/help/286-How-to-Pass-Field-Value-to-Another-Field 

    If you need more help, please let us know what is the form you are using, so we can check further.

  • Profile Image

    Answered by NGHS on February 28, 2017 at 01:37 PM

    David, thanks for the response. This does not speak to my exact need, though. How do I use the field updater to put information into a multi-field form element (ex: address)?

  • Profile Image
    JotForm Support

    Answered by BDAVID on February 28, 2017 at 03:43 PM

    Unfortunately no, it is not possible to input text into an address field through conditions. It is only possible to populate the data from another address:


    Let us know if you have more questions.

  • Profile Image

    Answered by NGHS on February 28, 2017 at 04:50 PM

    In that case, could I create a prefilled address field and just trigger that info to be copied into another address field? 

  • Profile Image
    JotForm Support

    Answered by BDAVID on February 28, 2017 at 07:19 PM

    Unfortunately, prefilling is not possible either. However, I think you might want to implement the following workaround:

    1) Create a new form where you capture the basic information such as the Name, E-mail, and the Radio Button option.

    2)Then create prepopulated URLs of your main current form by following these guides:

    2.1. Use this guide to pass the basic data from your new form to your main form: https://www.jotform.com/help/351-How-to-Automatically-Pass-Form-Data-to-Another-Form 

    2.2 And combine it with this guide to generated the prepopulated parameters: https://www.jotform.com/help/71-Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters 

     Prepopulated URLs example:

    URL for address A:

    https://form.jotform.co/70085255864865?name[first]={name:first}&name[last]={name:last}&email={email}&address[addr_line1]=Stree One A&address[addr_line2]=Street Two A&address[city]=My City A&address[state]=My State A&address[postal]=000A

    URL for address B:

    https://form.jotform.co/70085255864865?name[first]={name:first}&name[last]={name:last}&email={email}&address[addr_line1]=Stree One B&address[addr_line2]=Street Two B&address[city]=My City B&address[state]=My State B&address[postal]=000B


    3) In your new form, create conditions to redirect to a specific prepopulated URL based on the selected radio option: https://www.jotform.com/help/317-Change-Thank-you-URL-Based-on-a-Condition 


    Here is the URL of my form for you to test: https://form.jotform.co/70586844674874 

    Hope this helps.