[pmwiki-users] ZAP: markup example to retrieve stored values and pre-fill radio buttons/checkboxes ?

Christophe David pmwiki at christophedavid.org
Thu Oct 12 01:58:44 CDT 2006


>
> Try the code snippet at
> http://www.fast.st/zap/pmwiki.php?n=Snippets.UpdateForms to see how it
> looks and works.


Thanks a lot.  It is a lot easier with an example ;-)

When Pm redoes the Forms script (scheduled I believe for this beta run) it
> should allow you to more easily update things like radio buttons, select
> menus, and checkboxes. Right now those are rather difficult to work with.


I would suggest to make the "preset" of radio buttons and checkboxes with
stored values at a rather priority for future enhancements of ZAP : the
"wiki based storage" is a very good idea, but updates of the data should be
made as easy as the initial capture.

With my current very limited  understanding ZAP, I can present a page where
a user can update the text fields of his profile, but I cannot show the
radio buttons with the stored value used as default.

Would someone have a working example how to do it, or if it cannot be done
easily, would someone have a clue as when it could be available ?  Or is it
just too difficult to implement and one should look for another approach ?

Thank you in anticipation for your help.

Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20061012/a148a9ae/attachment.html 


More information about the pmwiki-users mailing list