perleager has asked for the wisdom of the Perl Monks concerning the following question:
<select multiple size="15" style="background-color: #FFC666; color: #0 +066CC; font-family: verdana,geneva,courier; font-size: 12;" name="bud +dies"> EOF open(IsF, "<$buddyfile"); @buddylist = <IsF>; close(IsF); foreach $buddylist (@buddylist) { chomp $buddylist; print "<option value=\"$buddylist\">$buddylist</option>"; } print <<EOF; </select><br> <input type="text" value="" name="buddyname"><br>
<input type="image" src="http://www.teen-reality.com/images/manav/bl/a +ddbuddy.jpg" name="bloption" value="add"> <input type="image" src="http://www.teen-reality.com/images/manav/bl/d +eletebud.jpg" name="bloption" value="delete">
---------</form> EOF
$bloption = $INPUT{'bloption'); if ($bloption eq "add") {etc. } else { delete buddy}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: two submit buttons in a form
by sutch (Curate) on Mar 12, 2001 at 07:59 UTC | |
by Masem (Monsignor) on Mar 12, 2001 at 08:53 UTC | |
by sutch (Curate) on Mar 12, 2001 at 20:34 UTC | |
|
Re: two submit buttons in a form
by Chady (Priest) on Mar 12, 2001 at 12:28 UTC | |
by turnstep (Parson) on Mar 12, 2001 at 19:38 UTC |