Thursday, March 29, 2012

List Box Heading

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!

JackJack -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

"jack-e" wrote:

> 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
>

0 comments:

Post a Comment