[pmwiki-users] getting form variables

Patrick R. Michaud pmichaud at pobox.com
Thu Mar 23 15:06:13 CST 2006


On Thu, Mar 23, 2006 at 01:58:49PM -0700, Bellave Jayaram wrote:
> Sorry, I don't know much about how forms work but if there are multiple
> forms that were submitted, would this (?name) markup be able to retrieve the
> values from all of them or only the last submit?

Only the last submit, and only if that submit led directly to the
current page.

Maintaining form/session values across pages is beyond PmWiki's scope,
although recipes are free to do something with it.

Pm

> -----Original Message-----
> From: pmwiki-users-bounces at pmichaud.com
> [mailto:pmwiki-users-bounces at pmichaud.com] On Behalf Of Patrick R. Michaud
> Sent: Thursday, March 23, 2006 8:49 AM
> To: Tom Carchrae
> Cc: pmwiki-users at pmichaud.com
> Subject: Re: [pmwiki-users] getting form variables
> 
> On Thu, Mar 23, 2006 at 01:28:59PM -0000, Tom Carchrae wrote:
> > eg, on one page:
> > 
> > (:input form "pmwiki.php?n=Page2":)
> > (:input text name size=30:)
> > (:input end:)
> > 
> > and then on Page2
> > 
> > hello (:getarg name:)!
> 
> I've been thinking of adding a {?name} markup, which would return
> the value from a submitted form or url.  Maybe I'll write up
> a recipe for it and people can try it out.
> 
> Pm
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
> 
> 




More information about the pmwiki-users mailing list