Opciones dinámicas

  • CorporacionLadyLee
    Fecha de consulta 10 de octubre de 2023, 19:15

    Hola, quiero saber si es posible tener opciones dinámicas en un elemento "desplegable".


    Lo que quiero lograr es lo siguiente:

    En mi formulario tengo un campo desplegable llamado ciudad, quiero que si este cambia, un cambio que se llama restaurante cambie sus opciones seleccionables. El campo restaurante también es un desplegable.


    De momento no encuentro como hacerlo con las opciones de condición. Por favor me ayudan?

  • Rene Jotform Support
    Fecha de respuesta 11 de octubre de 2023, 0:25

    Hi CorporacionLadyLee,

    Thanks for reaching out to Jotform Support. Unfortunately, our Spanish Support agents are busy helping other Jotform users at the moment. 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, keep in mind that you'd have to wait until they're available again.

    Now, let me help you with your question. You can prepopulate another dropdown field after selecting an option from a dropdown element using the Dynamic Dropdown widget. Let me show you how:

    • In Form Builder, click the Add Form Element in the upper-left corner.
    • In the left pane, go to Widgets at the top.
    • Search and select Dynamic Dropdowns to add it to your form.

    Steps to add Dynamic Dropdowns in Jotform Form Builder Screenshot 10

    • Next, select the widget’s Wand icon to open settings.
    • In the settings pane on the right, set up your dropdown options in the Values field.

    Steps to add Dynamic Dropdowns values in Jotform Form Builder Screenshot 21

    Please note that nesting or indenting the options with spaces creates a parent-child relationship between dropdown lists. Here's a demo form that you can test.

    Give it a try and let us know if you need any help.