[ic] Using FormAction in MV 4.04

Randy Moore [email protected]
Mon, 11 Sep 2000 18:09:56 -0400


Hi All,

Can anyone tell me how to correctly write a subroutine for a FormAction?

I checked the MV list archives & found 2 passing mentions of FormAction, 
but no examples.

Here is a simple test I'm using (slightly modified from the docs):
     FormAction item_profile <<EOR
     sub {
		Log($Tag->uneval({ ref => $CGI }));
		$CGI->{mv_nextpage} = 'index';
		return(1);
     }
     EOR

According to the log file, the $CGI structure is empty!  And setting the 
mv_nextpage does seem to work.  I get the following error
"Sorry, the page () was not found".

So, I'd guess that I'm not accessing the $CGI structure properly.

Any suggestions?

Thanks.

Randy Moore
Axion Information Technologies, Inc.

email     [email protected]
phone   301-408-1200
fax        301-445-3947