in reply to Re^2: Basic CGI: 2 forms, 2 submits
in thread Basic CGI: 2 forms, 2 submits

If you have two submit buttons on the same form you will need to check which one was clicked
use CGI; my $q = CGI->new; my $bA = $q->param('button_A'); my $bB = $q->param('button_update'); if($bA eq "whatever") { # do whatever } if($bB eq "Update") { # do update stuff here }