[pmwiki-users] (:input select ... :) markup prototype
The Editor
editor at fast.st
Sun Dec 24 04:04:36 CST 2006
Finally got around to trying out the default value for select boxes.
But can't seem to get it to work. Works great for radio boxes though.
Here's the snippet I'm trying:
Day of the Week:
(:input default weekday "{$:weekday}":) //zapdata stores 0,1,2, etc.
(:input select name=weekday 0 Sunday:)
(:input select name=weekday 1 Monday:)
(:input select name=weekday 2 Tuesday:)
(:input select name=weekday 3 Wednesday:)
(:input select name=weekday 4 Thursday:)
(:input select name=weekday 5 Friday:)
(:input select name=weekday 6 Saturday:)
Any help that could be given would be appreciated. I noticed there
are no examples of default values for select boxes at
http://www.pmwiki.org/wiki/Cookbook/InputDefault. Is this not added
yet?
Cheers,
Dan
More information about the pmwiki-users
mailing list