[pmwiki-users] how to re-show form with pre-existing field data?

The Editor editor at fast.st
Mon May 21 11:44:02 CDT 2007


On 5/21/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > try in a local config file:
> >
> > # POST input values will be preserved
> > foreach ($_POST as $k=>$v) {
> >    if(!is_array($v))
> >      $InputValues[$k] = htmlspecialchars($v);
> > }
>
> In later betas one can also use the markup
>
>   (:input defaults request=1 :)
>
> to get the same effect.


Ok, so I guess it comes back out of the ZAPcode!  : )

Cheers,
Dan



More information about the pmwiki-users mailing list