Auto Populate Input Table

  • Profile Image
    Mike_Sanchez
    Asked on January 06, 2021 at 04: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.J

  • Profile Image
    Yau_C
    Answered on January 06, 2021 at 09: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,

  • Profile Image
    Yau_C
    Answered 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_

    1624028397_60ccb4ee000f0_

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

    1624028540_60ccb57ca6ad6_

    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.