Aaron Craig wrote:
: I believe multiple submit buttons only send off the information for the
: form they are a part of. If you have multiple forms, clicking one submit
: button will only get you that form sent off.
This is true (unless you're into Javascript). However, a single form
can have
>I believe multiple submit buttons only send off the information for the
>form they are a part of. If you have multiple forms, clicking one submit
>button will only get you that form sent off.
But you can have more than one submit button per form. This is useful
when you want something like,
I believe multiple submit buttons only send off the information for the
form they are a part of. If you have multiple forms, clicking one submit
button will only get you that form sent off.
At 10:18 22.05.2001 -0700, you wrote:
>In the html:
>
>
>the 'value' attribute just set's up what the bu
In the html:
the 'value' attribute just set's up what the button text is, not a unique
identifier for the button, so like tdk wrote, you need a name attribute to
get the behavior you want.
Dave wrote:
: Can any one tell where I went wrong here?
: (I remember reading that a html form can have
: multiple submit forms as long as you parse them
: via their value)
: ...
: In the html:
:
These tags need a name attribute. Without it, the values will not
be bound to a CGI parameter nam
Hello,
Can any one tell where I went wrong here?
(I remember reading that a html form can have
multiple submit forms as long as you parse them
via their value)
Thanks!
Dave
-
In the html:
--
#!/usr/bin/perl
$forminfo = ;
@key_value_pairs = split(/&/,$forminfo);
foreach $pair