IFRAME WIDGET URL settings

  • Ketan_bhavsar
    Asked on January 12, 2022 at 12:53 AM

    Hi,


    I have inserted 2 widgets in my form.

    one is Button Radio and another is Iframe

    I wish to display different Jot forms in I frame by selecting different Button


    eg.

    While Option 1 >>> Form ABC

    Option2 >>> Form PQR

    Option3 >>> Form XYZ Through changing URL links in Same IFRAME.


    Kindly suggest the possibility of this design

    Warm Regards

    Ketan

  • Norwyn JotForm Support
    Replied on January 12, 2022 at 4:45 AM

    Hi there,

    Hope all is well.

    To verify, you would like to proceed to display a certain form in the iFrame widget depending on the option selected, right? If yes, you need to add three iFrame widgets for each option. And then add a Show / Hide Field condition to set the iFrame to be shown depending on the option selected. Please see the demo below:

    1641980669 61dea2fd57809 61 Screenshot 10

    Let us know if you need further assistance.

    All the best!

  • Ketan_bhavsar
    Replied on January 12, 2022 at 6:56 AM

    Thanks

    I appriciate your response.


    But to keep the application in Light weight mode, I need to manage with single iframe with Dynamic URL


    Kindly suggest trick for this.

    Warm Regards


    Ketan

  • Vick_W Jotform Support
    Replied on January 12, 2022 at 7:04 AM

    Hi Ketan,

    Unfortunaltey, conditional logic can not be applied within a field or a widget. So in order to display different URLs in iFrame widgets, you'll have to use 3 iframe widgets.

    Let us know if you have any other questions.

    Thanks