How to populate fields?

  • Profile Image
    darutherford
    Asked on February 23, 2017 at 05:03 PM

    I may be doing something wrong --but I cant seem to get this app to work. Does it work with Jotform4?

    I have only one form called Lesson Tracker

     

    I would like each form to be prefilled with lesson time, student name and selection of instructor (by admin person). -then when student shows up for class, I would like for them to complete the rest of the form (lesson survey) and sign it. Is this possible?

  • Profile Image
    EltonCris
    Answered on February 23, 2017 at 08:48 PM

    Yes, that's possible through URL parameters.

    Example:

    https://www.jotform.com/70197241994161?timeOf4[0]=1&instructor[0]=1&studentName=John%20Doe

    Here are the field names used with its sample values used in the above URL.

    For time lesson field --> timeOf4[0]=1

    If you want to populate the second option you can use timeOf4[1]=1 just increment the value inside the square braces.

    For instructor field --> instructor[0]=1

    For student name --> studentName=John Doe

     

    Here's a full guide:  http://www.jotform.com/help/71-Prepopulating-the-fields-to-your-JotForm-via-URL-parameters