Selectbox un-selectable items
Hi.
Just wondering if there is an easy way to achieve the following.
I have a test form - http://www.appeaconference.com.au/index.php?option=com_chronoforms&chronoform=TEST
You will see there is an item that is "Exhibition Sponsor: SOLD". Is there a way to make that 1 item greyed out and not selectable?
TIA
Mark
Just wondering if there is an easy way to achieve the following.
I have a test form - http://www.appeaconference.com.au/index.php?option=com_chronoforms&chronoform=TEST
You will see there is an item that is "Exhibition Sponsor: SOLD". Is there a way to make that 1 item greyed out and not selectable?
TIA
Mark
Hi Mark,
The simplest way is to use JavaScript to mark it as disabled.
You could also do it in PHP but you can't do that with the standard select drop-down element. You'd need to add the code HTML for the select and possibly PHP to disable the option(s) in a Custom Element element.
Bob
The simplest way is to use JavaScript to mark it as disabled.
You could also do it in PHP but you can't do that with the standard select drop-down element. You'd need to add the code HTML for the select and possibly PHP to disable the option(s) in a Custom Element element.
Bob
This topic is locked and no more replies can be posted.