> 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";
> =======================
> 
> 

Looks like you need to read more about CGI and HTML forms. Here are some
links and docs for ya:
http://users.easystreet.com/ovid/cgi_course/

perldoc cgi

http://www.w3schools.com/html/html_forms.asp






---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.772 / Virus Database: 519 - Release Date: 10/1/2004
 


-- 
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