[pmwiki-users] Problem "Disabling" Select options . . .

Ben Wilson dausha at gmail.com
Mon Mar 5 15:51:19 CST 2007


On 3/5/07, Hans <design5 at softflow.co.uk> wrote:
> Monday, March 5, 2007, 9:11:34 PM, Ben wrote:
>
> > I am currently working on a recipe and was working with (:input
> > select:) I wanted to disable some selections so that they are
> > informational only:
>
> > (:input select name=abc 1 alpha:)
> > (:input select name=abc 2 beta:)
> > (:input select name=abc disabled='disabled' 2 Fred:)
> > (:input select name=abc 3 theta:)
>
> > However, when implementing, the disable affects all options, not just
> > the one disabled. Thoughts?
>
> I don't know what the disabled= does in the markup processing.
> It seems to kill the process.
> The markup processing expects a value= .
>
> Do you want to display "Fred" in the selections, but disable any
> action resulting from selecting "Fred", or do you wish to hide the
> markup line, like commenting it (I know commenting does not work)?

I want to prevent selecting Fred as Fred is an in-option list heading.
This is akin to the behavior of the "more actions" option list of
Google Mail.

-- 
Ben Wilson
"Words are the only thing which will last forever" --- Churchill



More information about the pmwiki-users mailing list