[pmwiki-users] (:input select ... :) markup prototype

Patrick R. Michaud pmichaud at pobox.com
Mon Dec 11 18:14:12 CST 2006


On Tue, Dec 12, 2006 at 12:00:39AM +0000, Hans wrote:
> Monday, December 11, 2006, 11:27:13 PM, Patrick wrote:
> 
> > I've been thinking that it can be:
> >     (:input select name=abc 1 alpha :)
> >     (:input select 2 beta:)
> >     (:input select 3 gamma:)
> >     (:input select 4 whatever:)
> >
> > [but many] of the other input controls have the form
> >     (:input text     <name> [<value>] :)
> >     (:input radio    <name> [<value>] :)
> >     (:input checkbox <name> [<value>] :)
> 
> 
> I think I am also in favour of following the example of the other
> input controls. But perhaps the name= can be avoided / just be optional
> in use (like value= and lable=)?
> 
>    (:input select <name> <value> [<label>] :)
>    
>    (:input select abc 1 alpha:)
>    (:input select abc 2 betha:)
> 
> Or perhaps you made this possible already.

This is possible already in the current implementation.  I just 
wrote all of the examples using an explicit "name=" just in case 
we decided to switch to the other form that doesn't require the
<name> attribute on each (:input select:).

Pm




More information about the pmwiki-users mailing list