Criação de um sub formulário

  • Reiluc
    Asked on February 1, 2016 at 3:01 PM

    Boa tarde... Estou criando um formulário onde pretendo colocar uma avaliação sobre um produto, e para isso preciso colocar um sub formulário como no exemplo:

     

    marca do automóvel: HONDA quando eu colocar no item o mesmo me traz os modelos como FIT EL 1.5. Teria como fazer?

     

     

  • Chriistian Jotform Support
    Replied on February 1, 2016 at 9:04 PM

    If I understand correctly, you want to add another form within your main form if a user selects an option?

    I believe you can add an iframe widget in your form and create a condition that when an option is selected, the iframe will appear in the form.

    1. Add a dropdown field in your main form.

    Criação de um sub formulário Image 1 Screenshot 50

    2. Then add an iframe widget. Input the URL of the sub-form that you want to add in the main form.

    Criação de um sub formulário Image 2 Screenshot 61

    3. Then add the following condition.

    ex: If Dropdown Field is Not Equal To Honda, Hide Option

    Criação de um sub formulário Image 3 Screenshot 72

    This condition hides the sub-form when Honda is not selected. When a user selects Honda, the sub-form is then shown. Here's a gif of the form in action.

    Criação de um sub formulário Image 4 Screenshot 83

    You can check out this sample form I created to see it in action: https://form.jotform.com/60318241921953

    You can also clone the sample form to your account. Here's how: How to Clone an Existing Form from a URL