S
sam
Hi,
I tried to create a form which embedded with another form, thus I expect
the second submit button will call the second cgi script, the main
submit button will call the main cgi script seperately.
eg.
print "<Form action=main.cgi>\n";
print "<table>\n";
print "<td><form action=second.cgi>\";
print "<input type=submit value=\"Outlets\">\n";
print "</form></td>\n";
print "</table>\n";
print "<td><form action=queryl.pl><input type=submit
value=\"MainQuery\"></form>\n";
in the above coding, pressed the MainQuery submit button actually called
to main.cgi script instead of query1.pl.
How can I change this?
Thanks
Sam
I tried to create a form which embedded with another form, thus I expect
the second submit button will call the second cgi script, the main
submit button will call the main cgi script seperately.
eg.
print "<Form action=main.cgi>\n";
print "<table>\n";
print "<td><form action=second.cgi>\";
print "<input type=submit value=\"Outlets\">\n";
print "</form></td>\n";
print "</table>\n";
print "<td><form action=queryl.pl><input type=submit
value=\"MainQuery\"></form>\n";
in the above coding, pressed the MainQuery submit button actually called
to main.cgi script instead of query1.pl.
How can I change this?
Thanks
Sam