Form: Show/Hide fields based on dropdown selection

  • JotFormPeru
    Fecha de consulta 6 de agosto de 2024, 20:49

    como realizar condiciones de mostrar y ocultar de una Desplegable Dinámico ( el campo se llama DIrección). Es decir, si mi despegable principal es Callao (DEPARTAMENTO). secundarios Callao (provincia), ventanilla (DISTRITO). Yo quiero hacer una condicion de mostrar / ocultar cuando aplica: SI el campo dirección es igual a Callao y tambien sea igual a callao y tambien sea igual a ventanilla. Se puede hacer esas condiciones multiples?

  • Israel Jotform Support
    Fecha de respuesta 7 de agosto de 2024, 1:14

    Hello Israel,

    Thanks for reaching out to Jotform Support. Our Spanish Support agents are busy helping other Jotform users right now, so I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Spanish, let us know and we can have them do that. But, it might take a while until they're available again.

    I understand you want to show a set of questions based on the answer from the dropdown element. You can do this by using Conditional Logic to show or hide elements in your form. I can walk you through setting that up.

    For instance, having a form the as below wherein there's a dropdown to select the set of questions, then followed by the questions themselves:

    Form: Show/Hide fields based on dropdown selection Image 1 Screenshot 60 Screenshot 20

    Next, add the Conditional Logic to display the set of questions depending on the selection from the dropdown:

    1. In Form Builder, click on Settings from the top navigation bar.

    2. Select Conditions from the left menu.

    3. Select Show/Hide Field.


    Form: Show/Hide fields based on dropdown selection Image 1 Screenshot 31

    4. Set the condition the same as below:

    Form: Show/Hide fields based on dropdown selection Image 3 Screenshot 82 Screenshot 42

    5. Add another Show/Hide Field condition and set the same as below:

    Form: Show/Hide fields based on dropdown selection Image 4 Screenshot 93 Screenshot 53

    Give it a try and let us know if you have any other questions.