On 5/15/07, noskule <[EMAIL PROTECTED]> 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
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users