Is it possible to create option groups within a dropdown?

  • sjpd
    Asked on February 1, 2017 at 5:48 PM

    Is there a way to create an option group subheading and indented sub-selections in a dropdown list?

     

    In HTML it would look like this:

                    <optgroup label="Crime Prevention">

                           <option value="Central">Crime Prevention: Central Division-</option>

                           <option value="Foothill">Crime Prevention: Foothill Division-</option>

                           <option value="Southern">Crime Prevention: Southern Division-</option>

                           <option value="Western">Crime Prevention: Western Division-</option>                       

                        </optgroup>

     -Dave

  • Elton Support Team Lead
    Replied on February 1, 2017 at 8:20 PM

    Yes, that's possible. 

    To create a group, enclose the text with double square brackets.

    Example:

    [[header]]

    option 1

    option 2

    Is it possible to create option groups within a dropdown?   Image 1 Screenshot 30

    Result:

    Is it possible to create option groups within a dropdown?   Image 2 Screenshot 41