[pmwiki-devel] multiple forms on same page with ZAP ?

Christophe David pmwiki at christophedavid.org
Sun Nov 26 04:44:25 CST 2006


Is it possible to save the data of several forms (ie several submit buttons)
on the same page using ZAPdata ?

It seems only the data for the last submitted form is saved and the rest is
lost in the following example

(:zapdata:)
(:zapform:)
(:input text "Field1" {$Field1}:)
(:input text "Field2" {$Field2}:)
(:input hidden savedata "Field1,Field2":)
(:input submit value="Zap it!":)
(:zapend:)

(:zapdata:)
(:zapform:)
(:input text "Field3" {$Field3}:)
(:input text "Field4" {$Field4}:)
(:input hidden savedata "Field3,Field4":)
(:input submit value="Zap it!":)
(:zapend:)

Thank you in anticipation.

Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-devel/attachments/20061126/402bd07b/attachment.html 


More information about the pmwiki-devel mailing list