Bob, Here is the portion of the HTML form below it you will find a portion of the CGI Script: As you see at the top I am posting the form so like I said I assume the variables will be passed. The other issue is I am using JavaScript to validate client side but when it gets to the CGI script I am getting the error page that you will find below.
<FORM name=The_Form action=/cgi-bin/ts_ticket_submit.cgi method=post encType=multipart/form-data> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TR> <TD colSpan=2 height=20> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD colSpan=2> <DIV align=center><B><font face="Arial" size="4">Help Desk Service Request</font></B></DIV></TD></TR> <TR> <TD bgColor=#ff9900 colSpan=2><font face="Arial" size="2"><IMG height=1 src="file:///C:/Inbox/HelpDesk/Submit%20a%20New%20Service%20Request_files/cl ear(1).gif" width=1></font></TD></TR> <TR> <TD colSpan=2 height=20><font face="Arial" size="2"> </font></TD></TR> <TR> <TD colSpan=2><B><font face="Arial" color="#333366" size="3">Submit a New Help Desk Service Request</font></B></TD></TR></TBODY></TABLE></TD></TR> <TR> <TD colSpan=2 height=20><font face="Arial" size="2"> </font></TD></TR> <TR> <TD colSpan=2><font face="Arial" size="2"><FONT color=#990000>*</FONT> = required field</font></TD></TR> <tr> <TD align=right colSpan=2 height=10> <DIV align=left><font face="Arial" size="2"><IMG src="orange_h_line_long.gif" width="300" height="1"></font></DIV></TD> </tr> <tr> <td align=RIGHT width="30%" height="30"><font size="2" face="Arial, Helvetica, sans-serif"><b> Name:</b></font><font face="Times New Roman, Times, serif" size="2" color="#990000">*</font><font size="2" face="Arial, Helvetica, sans-serif"><b> </b></font></td> <td width="70%" height="30"> <input name='Name' type=TEXT size='20%' value="" maxlength="20"> </td> </tr> <tr> <td align=RIGHT colspan="2" height="10"> <div align="left"><img src="../../../images/home2/orange_h_line_long.gif" width="300" height="1"></div> </td> </tr> <TR> <TD align=right width="150%" height=30><font face="Arial" size="2"><b>Email address:</b><FONT face="Times New Roman, Times, serif" color=#990000 size=2>*</FONT><B> </B></font></TD> <TD height=30><input type="text" name='email' size="8"> @ <select size="1" name="Domain"> <option selected>Please select</option> <option value="checkpoint.com">checkpoint.com</option> <option value="us.checkpoint.com">us.checkpoint.com</option> <option value="ts.checkpoint.com">ts.checkpoint.com</option> </select> </TD></TR> <tr> <TD align=right colSpan=2 height=10> <DIV align=left><font face="Arial" size="2"><IMG src="orange_h_line_long.gif" width="300" height="1"></font></DIV></TD> </tr> <tr> <TD align=right width="30%" height=30><font face="Arial" size="2"><B><FONT color=#990000>Re-enter</FONT> Email:</B><FONT face="Times New Roman, Times, serif" color=#990000 size=2>*</FONT><B> <BR></B><FONT face="Arial, Helvetica, sans-serif" color=#990000 size=1>(For Verification) </FONT></font></TD> <TD height=30><input type="text" name="email_verify" size="8"> @ <select size="1" name="Domain1"> <option selected>Please select</option> <option value="checkpoint.com">checkpoint.com</option> <option value="us.checkpoint.com">us.checkpoint.com</option> <option value="ts.checkpoint.com">ts.checkpoint.com</option> </select> </TD> </tr> </form> -----Original Message----- From: Bob Showalter [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 10:42 AM To: 'Lance Prais'; Perl Subject: RE: CGI QUESTION > -----Original Message----- > From: Lance Prais [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 11:15 AM > To: Perl > Subject: CGI QUESTION > > > I have a question regarding passing variables from a HTML > form to a CGI > script. I have never worked with CGI in the past and assumed > that if I > included the variables with in the form and on submit called > the CGI script > that the variable would be amiable to it. That doe not see, > to be the case. > Is my assumption correct? > > I am attempting to use the variables by the following code: > > (param('account')) > > Is that correct? It depends. If that's the whole script, the answer is no. 1. What do you expect to be happening? 2. What do observe to be actually happening? 3. Post the whole script (or at least enough so we can see what's going on). -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]