On May 31, 2005, at 9:54 AM, Prakash Inuganti ((pinugant)) wrote:
Hi,I am only couple of days old to using CGI::Application. If my form has 2submit buttons and on click each should call a different run_mode, how do I handle that?. I can give one hidden field with name='rm', what do I do with the second one? Any help is appreciated.
I have most of my run_modes submit back to themselves and then use logic within the run_mode to dispatch to the next run_mode which may vary depending on several the parameters on the page. I can easily validate input this way, also.
Sean
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.