[pmwiki-users] zap default var (via get)
The Editor
editor at fast.st
Tue May 15 11:35:11 CDT 2007
On 5/15/07, noskule <noskule at gmx.net> wrote:
> hi List/dan
>
> I try to use get-vars to get default values into a form, but without
> success, could you please take a look, should this be possible? thanks
> for any hints
> nos
>
> URL:
> http://netstreams.org/test/pmwiki/index.php/Site/IssueForm?editpage=GroupName.EditPage&nextpage=GroupName.NextPage
>
> (:input text Heading {{editpage}$Heading}:)
> (:zap nextpage={nextpage}:)
Almost! ZAP currently uses {$var} for get variables, automatically,
as long as they are not already defined on a page. So try
(:input text Heading {{$editpage}$Heading}:)
(:zap nextpage={$nextpage}:)
Note: Pm has said he will use the syntax: {?var} for get vars in the
future. ZAP will probably follow suit soon after...
Cheers,
Dan
More information about the pmwiki-users
mailing list