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

    Can I populate a time field according to the answer to a previous field?

    Asked by Rosaluo on June 12, 2013 at 03:37 PM

    Hi,

    I am woring on a big form. The form would ask people if they get sick from a meal, the time when they got sick, and the food history in the past 3 days before illness. I want to populate the time of the past 3 days according to the sick time.

    For example, I want the first date of food history would be populated as the same date when they got sick. And the second date would be one day before the date when they got sick.

     

    Is it possible to have the date fields populated according to what people have answered earlier in the form?

    Thank  you

     

     

     

    Page URL:
    http://jotform.us/form/31615745847159

    pre-populate custom url thank you url
  • Profile Image
    JotForm Support

    Answered by jonathan on June 12, 2013 at 06:18 PM

    Hi,

    Yes. You can pre-populate a form with values coming from a previous form using the Custom URL in the Thank You page settings.

    Something similar to this form http://www.jotformpro.com/form/31626744740960? you can test.

    Please inform us if you need further assistance.

    Thanks.

  • Profile Image

    Answered by Rosaluo on June 13, 2013 at 11:28 AM

    Hi,

    Do I have to use two sepearte forms in order to populate the values? I would like to populate the fields which are in the same form but on a later page. If possible, I want to make edition on my existing form instead of generating two new forms again.

    If possible, how can I populate the fields?

    Thank you

     

     

  • Profile Image
    JotForm Support

    Answered by abajan on June 13, 2013 at 11:44 AM

    This might be possible but it would require your embedding the form's full source into a web page and adding a script to the said page. The functionality demonstrated in the form in this guide is somewhat similar to what you want to happen in your form, except that in your form the population would be automatic. I think that prepopulating date fields could be kind of tricky though.

    Nevertheless, we'll have another look at your form and see if we can come up with something.

    Thanks