[pmwiki-devel] Form messages question
marc
gmane at auxbuss.com
Wed Jan 3 05:24:04 CST 2007
Hi,
How do you display feedback to a submitted form? Say, validation
messages.
Say, I have a form with:
(:input form '' post:)
...
(:input hidden action someaction :)
(:messages:)
and to handle this:
$HandleActions['SomeAction'] = 'HandleSomeAction';
function HandleSomeAction($pagename) {
I thought that all I needed to do in HandleSomeAction() is:
global $MessagesFmt;
$MessagesFmt[] = 'some message';
Redirect($pagename);
But this doesn't work.
--
Cheers,
Marc
More information about the pmwiki-devel
mailing list