Show form on the main form based on a field selection

  • Mike
    Asked on December 3, 2020 at 12:11 PM

    Is there a way to have multiple forms accessible from a main form (similar to a dynamic dropdown)?

    The main form would ideally have a dropdown list & each option would then switch the user to its own independent pdf form.

    It seems possible, I just can't figure out how to do it. Please help!

  • Mike_G JotForm Support
    Replied on December 3, 2020 at 4:06 PM

    Yes, that would be possible using the Iframe Embed Widget and Show/Hide Field conditional logic.

    Step 1 — Create the Main form and the forms that you would like to embed onto the Main form.

    Step 2 — Set up the drop-down field and its options on the Main form.

    1607027572 5fc94b74ecb55 zt201203 152031 Screenshot 10

    Step 3 — On the Main form, add the Iframe Embed widgets that you need form based on the number of forms you will embed.

    Step 4 — Get the Direct link to the other forms and place each link into the Iframe Embed widget settings on the Main form, respectively.

    1607027099 5fc9499bd8b9a zt201203 152418 Screenshot 21

    Step 5 — Create a condition that will show the Iframe Embed widgets based on the option selected in the drop-down field you added in Step 2.

    1607027438 5fc94aee0feec zt201203 153026 Screenshot 32

    1607027243 5fc94a2b0d7bc zt201203 152631 Screenshot 43

    Here's how it works.

    1607027805 5fc94c5d19045 zt201204 153556 Screenshot 54

    Note: The Main Form will not have a Submit button. Also, when one of the embedded forms is submitted, the selection in the drop-down field on the Main Form will not be submitted together with the submitted form data.

    Reference Guide:

    How-to-Add-a-Widget-to-your-Form

    How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    Please give it a try and let us know if you need any further assistance.