[Catalyst] Advice on form submission

Peter Sørensen maspsr at sdu.dk
Tue Feb 5 09:07:03 GMT 2008


Hi,

I'm using Catalyst with FormBuilder and TT

I need an advice on how to handle multiple SUBMIT buttons
on one form. I have a method:

sub index : Local Form {
	......
	This creates my main form 
	with multiple SUBMITS like

	UPDATE
	DELETE
	ADD SUBSCRIBER
	....

}

What would be the most elegant solution to deal with this according to Catalyst.

I would prefer to have separate actions like:

sub delete : Local Form {
.....


sub update : Local Form {
.....


Regards


Peter Sorensen/university of Southern Denmark / e-mail: maspsr at sdu.dk



More information about the Catalyst mailing list