List Box Heading

  • Thread starter Thread starter jack-e
  • Start date Start date
J

jack-e

Hello,

How do I insert non-selectable headings into a list box?

e.g. if i had a list box displaying cities around the world - how could
i insert the country's name above each goup of cities

Australia (heading)
Sydney
Melbourne
New Zealand (heading)
Auckland
Wellington

Thanks!

Jack
 
Jack -e

I don't think thats possible to make an unselectable listitem, without using
a javascript. A work around would be to just redisplay the form if a country
is selected with a message like "Please select a city in Spain."

Good Luck
DWS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top