How to auto-fill a form field based on a previous selection

  • Profile Image
    Asked on October 14, 2013 at 08:51 AM

    Can the content of a subsequent field be auto-ifilled based on the response to a preceding questions?

  • Profile Image
    Answered on October 14, 2013 at 10:51 AM

    Hi there!

    Would you mind elaborating your question?

    To my understanding you want to autofill a form which values came from the first form? If yes, you can check my colleagues reply here:

    If I've misunderstood your question, let us know here.


  • Profile Image
    Answered on October 15, 2013 at 10:30 AM

    I cannot seem to open the link above. It seems to loop...

    Meantime, what I'd like to do is have the submitter select an option from a dropdown list of names. Based on that selection, I'd like to auto-fill a field with that person's email. I need to use the field in the auto-responder. Or can I add form logic to accomplish this?

    Thanks in advance for your insights.

  • Profile Image
    Answered on October 15, 2013 at 11:27 AM


    Thanks for the clarification. 

    Please take a look at this example form if that is what you are looking for:

    I was able to accomplish that by creating conditional logics (Sho/Hide a form field), that will show an email field with a default value according to the previous answer. So, I can say that's not an autofill method, however, it could fit your needs.

    Basically, the number of email fields is according to number of names of the dropdown list, in my example the names are 4, but I added one more email field to show empty, so they are  5 email fields:

    You can add the default email by clicking on each email field and then clicking on Default Value in the top: 

    The first condition that will show the empty email field will be in this way: 

    The second one, that will show the email field with the email of the first name of the dropdown list, is in this way:

    - Condition 3   - Condition 4    - Condition 5

    I hop this helps, however, I will be looking for a better solution and if found something I will notify you later. If you need further assistance don't hesitate to contact us.


  • Profile Image
    Answered on October 15, 2013 at 12:42 PM

    Looking forward to seeing the solution. Please resend URL: I am getting this error:

    Invalid Form URL
    This form is not available for this domain. 
  • Profile Image
    Answered on October 15, 2013 at 01:48 PM


    Are you unable to open even the URL given by the system I got the same error when using the URL in private mode of my browser:

    Then I clicked on the URL given by the system and it opened the form just fine.

    Please use this  link and let us know if you continue having this issue or use this one in case the previous one doesn't work.

    Let us know if you need further assistance.


  • Profile Image
    Answered on March 11, 2017 at 06:33 PM

    Could you please advise how to achieve this in jotform 4.

    thanks in advance

  • Profile Image
    Answered on March 11, 2017 at 09:29 PM


    We will answer your question here