Auto Populate Input Table

  • Mike_Sanchez
    Asked on January 6, 2021 at 4:03 PM

    Hello -

    I am trying to find a way to dynamically populate checkboxes on an Input Table based on the value of a Dropdown field.

    I am creating a New Employee IT Account form and would like to have specific checkboxes automatically checked based on the type of position selected in the Job Title. For example, per the screenshot below, if the Job Title is Courier, then the Domain Account, Email Account, and Distribution checkboxes would automatically populate. If Pathologist is selected, then the Domain Account, LIS -Accounts, and Email Account checkboxes would automatically populate and so on. I have tried various conditional logic settings but can't seem to get the result I am looking for. Any suggestions?

    Thanks for your time!

    1609966570 5ff623ea714a9 FormScreenCap Screenshot 10

  • Yau_C
    Replied on January 6, 2021 at 9:09 PM

    Greetings,

    That's not possible with 'input table'.

    Please allow me some time to develop a work-around to mimic the behavior that you described.

    Best regards,

  • Yau_C
    Replied on June 18, 2021 at 11:08 AM

    Besides conditional-logic, you may also consider URL-parameters as a workaround.

    You can populate input table in the next form with field values in your current form.

    But in terms of checkbox in the input table, you need to specify the rows and columns as follow:

    • destinationField[rowNumber][ColumnNumber]

    Example: 1st row and 1st column would be:

    • Checked: destinationField[0][0]=1
    • Unchecked: destinationField[0][0]=0

    Here is a demo I created.

    Job title in Form A determines which account will be selected in Form B:

    1624028343 60ccb4b7cdee6  Screenshot 10

    1624028397 60ccb4ee000f0  Screenshot 21

    To make this happen you also need to use the Conditional-Thank-You page:

    1624028540 60ccb57ca6ad6  Screenshot 32

    So that Form 1 will redirect to different URL with parameters in Form 2 based on job title selected.

    Example: https://form.jotform.com/211683169702053?account[1][0]=1

    You can clone my forms and customize them:

    https://form.jotform.com/211683958444062

    https://form.jotform.com/211683169702053

    Let us know if you need further assistance.