[pmwiki-users] forms and drop-down boxes ( <select>)

Joachim Durchholz jo at durchholz.org
Wed Aug 24 09:22:18 CDT 2005


John Rankin schrieb:
> The Cookbook:wikiforms recipe provides this capability.

As does http://www.pmwiki.org/wiki/Cookbook/Input.

 > Modesty prevents me from saying how neat it is.

Um... me too :-)))

Just say

(:input menu mymenu:)
(:input menuentry 'Menu entry #1':)
(:input menuentry 'Menu entry #2':)
(:input menuend:)

You'll get back a variable named $_POST['mymenu'] that reads either 
'Menu entry #1' or 'Menu entry #2' (or is unset if the user didn't 
choose an entry).

Regards,
Jo




More information about the pmwiki-users mailing list