Re: Divider in a Select Form Field: anybody know how to make one?

Anonymous
Not applicable

Divider in a Select Form Field: anybody know how to make one?

I am creating a long list of Office Locations and would like to put a divider in key places within the list to break up the list. 

Anybody know how to do it? I couldn't find anything in the community and my mind is starting to get hazy...(imagine William Shatner...)...must...get help...

Thanks 

Tags (1)
3 REPLIES 3
Anonymous
Not applicable

Re: Divider in a Select Form Field: anybody know how to make one?

If you edit the HTML, you can add an <hr> tag between fields. 
Alok_Ramsisaria
Level 10

Re: Divider in a Select Form Field: anybody know how to make one?

Hi Rodney;

One way to break up the list is by adding the break lines
 
1. Edit the Values of your Field (the type of which is "Select")
 
2. Go to Advanced Editor
 
3. Add break lines wherever you want to put divider and Save.

0EM50000000S7fL.jpg
 
This shall make the Field drop down look like this - 

0EM50000000S7fQ.jpg
 
 
However, this(the break lines) remains a selectable field. To resist someone selecting this field, you'll require some JS...but, we never really select "----" while selecting countries.

Hope this helps!
Anonymous
Not applicable

Re: Divider in a Select Form Field: anybody know how to make one?

Murtza,
You're going to have to be more specific. Can't picture where I'm going to edit HTML on a Form. That is where my select field is.
Rodney