Divider in a Select Form Field: anybody know how to make one? | Community
Skip to main content
July 15, 2014
Question

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

  • July 15, 2014
  • 3 replies
  • 1081 views
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 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

July 15, 2014
If you edit the HTML, you can add an <hr> tag between fields. 
Level 10
July 16, 2014
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.

 
This shall make the Field drop down look like this - 

 
 
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!
July 16, 2014
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