How can I insert a text box or a label as a sub option in a dynamic dropdown widget?

  • gloverparkgroup
    Asked on June 20, 2018 at 3:14 PM

    Hi all!! 

    I am using a dynamic widget for achieving something like this:


    Option A

       Option A1

       Option A2

    Option B

       Option B1

       Option B2 <Label to explain the option>

       Option B3 <Other text box>

    How can I insert the label and the text box as sub-options?

     
  • Jed_C
    Replied on June 20, 2018 at 4:34 PM

    Unfortunately, it is not possible to set any labels to the drop-down options by injecting CSS codes or by adding labels to options.

    For the text-box sub-options, nesting (indenting) creates a parent-child relationship between dropdown lists.

    1529526857dynamic dropdown Screenshot 10

    Let us know if you have any questions or if you need further assistance. 

  • gloverparkgroup
    Replied on June 20, 2018 at 4:50 PM

    Thank you for getting back to me. I still do not understand how I can have a text box appear as a sub-option. For e.g. In my example, how can I have user fill in option B3 by having B3 appear as a text box? In other words, if the user selects option B and gets all sub-options for that option, then is it possible that the last option is a text box?

  • Jed_C
    Replied on June 20, 2018 at 5:38 PM

    Sorry for the confusion. The dynamic dropdown widget will only display it as dropdown. The textbox that appears is for searching only. You cannot have a blank textbox field as an option / sub-option.

    Let us know if you have any questions or if you need further assistance.