Hi: I have created a perl cgi script to grab two
string inputs from users. The script shown below
expects the user to type in the value. I would like to
change this and give the user a pulldown menu to pick
from a list of items. Could somebody provide help with
what I need to change.

=====================
my $alertkey = param( '$selected_rows.AlertKey' ) ||
"0";
print "<form action=\"\/cgi-bin\/create_ticket.cgi\"
method=\"get\">\n";
print "<table>\n";
  print "<tr>\n";
  print "<td>AlertKey:</td>\n";
  print "<td><input type=text name=f_alertkey
value=\"$alertkey\"></td>\n";
  print "</tr>\n";
=======================

The above script creates a html page with the
following html code

=============
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML><BODY><body aLink=#ffffff bgColor=#000033
link=#ffffff text=#ffffff vLink=#cccccc>


<td>AlertKey:</td>
<td><input type=text name=f_alertkey value=""></td>
</tr>
</table>
<p>
<input type=submit value="Submit">
</form>
</BODY></HTML>
=============
Thanks
Ravi

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to