hello,
I am constructing a feedback form for a website I have built. I keep getting the error:
CGI Error: The specified
CGI application misbehaved by not returning a complete set of
HTTP headers
I am using a host that uses FormMail and my initial thoughts were that there were problems from his side but if you miss a required element the script works so I'm not sure. He thinks there is a problem with a form element. Permission have been set for my email address by the host.
If anyone has any ideas or suggestions I would be most greatful. As you can probably tell from the code, I haven't been doing this for too long. Thanks in advance for your help.
URL:
http://www.biaq.com.au/Advocacy%20Website/be-real.htm
(click on feedback link at the top)
Code:
- Code: Select all
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../CSS/nexus-advocacy-website.css" rel="stylesheet" type="text/css" title="nexus">
<link href="../CSS/largetext.css" rel="alternate stylesheet" type="text/css" title="largetext">
<link href="../CSS/highcontrast.css" rel="alternate stylesheet" type="text/css" title="highcontrast">
<link href="../CSS/highcontrast-large.css" rel="alternate stylesheet" type="text/css" title="highcontrast-large">
<script type="text/javascript" src="../script/styleswitcher.js"></script>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="copy-table" >
<tr>
<td><div align="center"><span class="body-heading">Feedback</span></div></td>
</tr>
<tr>
<td class="body-text"><p><br>
In an effort to provide the best possible resource to everyone who uses this web site, we at "Be Real" would appreciate any feedback you have about our site. Please take some time and fill out our simple feedback form below, then click the "Submit" button at the bottom of the page once only. All fields marked with an asterix (*) are required. Thanks in advance for your time!!</p>
<form name="feedback" method="post" action="/cgi-bin/FormMail.pl">
<input type="hidden" name="recipient" value="gfarlow@biaq.com.au">
<input type="hidden" name="subject" value="Be Real Feedback">
<input type=hidden name="redirect" value="feedback-thanks.htm">
<input type=hidden name="required" value="name, email, navradio, contentradio, layoutradio, accessradio, overallradio">
<input type=hidden name="missing_fields_redirect" value="feedback-error.htm">
<table width="473" border="0" align="center" class="feedback">
<tr bordercolor="#000000" class="body-text">
<td width="156" class="body-heading2">Name: </td>
<td width="303" class="body-text"><input name="name" type="text" class="body-text" id="name" size="50" maxlength="150">
*</td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td class="body-heading2">Email: </td>
<td class="body-text"><input name="email" type="text" class="body-text" id="email" size="50" maxlength="150">
*</td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td class="body-heading2">Postcode: (Aus only) </td>
<td class="body-text"><input name="postcode" type="text" class="body-text" id="postcode" size="20" maxlength="20">
</td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td class="body-heading2">Occupation:</td>
<td class="body-text"><input name="occupation" type="text" class="body-text" id="occupation" size="50" maxlength="150"></td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td class="body-heading2">Who are you?</td>
<td class="body-text"><select name="whoru" class="body-text" id="whoru">
<option>Please choose one...</option>
<option value="1">Person with a Disability</option>
<option value="2">Family Member</option>
<option value="3">Friend</option>
<option value="4">Health Professional</option>
<option value="5">Other</option>
</select></td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td colspan="2" class="body-text"><p><br>
<span class="body-heading2">How would you rate the following areas of this web site? <br>
(Please vote using the bottons and make a comment if appropriate)</span><br>
<br>
</p>
</td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td valign="top" class="body-heading2">Navigation:</td>
<td><input name="navradio" type="radio" value="1">
1
<input name="navradio" type="radio" value="2">
2
<input name="navradio" type="radio" value="3">
3
<input name="navradio" type="radio" value="4">
4
<input name="navradio" type="radio" value="5">
5 *<br>
(1 = very good, 5 = very poor) </td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td valign="top"> </td>
<td class="body-text"><p>
<textarea name="navtext" cols="50" rows="5" class="body-text" id="navtext">Comment: </textarea>
</p> </td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td valign="top" class="body-heading2"> </td>
<td> </td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td valign="top" class="body-heading2">Content:</td>
<td><input name="contentradio" type="radio" value="1">
1
<input name="contentradio" type="radio" value="2">
2
<input name="contentradio" type="radio" value="3">
3
<input name="contentradio" type="radio" value="4">
4
<input name="contentradio" type="radio" value="5">
5 *<br>
(1 = very good, 5 = very poor) </td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td valign="top"> </td>
<td class="body-text">
<textarea name="contenttext" cols="50" rows="5" class="body-text" id="contenttext">Comment: </textarea></td>
</tr>
<tr class="body-text">
<td valign="top" class="body-heading2"> </td>
<td> </td>
</tr>
<tr class="body-text">
<td valign="top" class="body-heading2">Layout:</td>
<td><input name="layoutradio" type="radio" value="1">
1
<input name="layoutradio" type="radio" value="2">
2
<input name="layoutradio" type="radio" value="3">
3
<input name="layoutradio" type="radio" value="4">
4
<input name="layoutradio" type="radio" value="5">
5 *<br>
(1 = very good, 5 = very poor) </td>
</tr>
<tr class="body-text">
<td valign="top"> </td>
<td class="body-text">
<textarea name="layouttext" cols="50" rows="5" class="body-text" id="layouttext">Comment: </textarea></td>
</tr>
<tr class="body-text">
<td valign="top"> </td>
<td> </td>
</tr>
<tr class="body-text">
<td valign="top"><span class="body-heading2">Accessibility: <br>
</span>(colours, fonts, etc) </td>
<td><input name="accessradio" type="radio" value="1">
1
<input name="accessradio" type="radio" value="2">
2
<input name="accessradio" type="radio" value="3">
3
<input name="accessradio" type="radio" value="4">
4
<input name="accessradio" type="radio" value="5">
5 *<br>
(1 = very good, 5 = very poor) </td>
</tr>
<tr class="body-text">
<td valign="top"> </td>
<td class="body-text">
<textarea name="accesstext" cols="50" rows="5" class="body-text" id="accesstext">Comment: </textarea></td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td valign="top" class="body-heading2"> </td>
<td> </td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td valign="top" class="body-heading2">Rate this site overall: </td>
<td><input name="overallradio" type="radio" value="1">
1
<input name="overallradio" type="radio" value="2">
2
<input name="overallradio" type="radio" value="3">
3
<input name="overallradio" type="radio" value="4">
4
<input name="overallradio" type="radio" value="5">
5 *<br>
(1 = very good, 5 = very poor) </td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td valign="top" class="body-heading2"> </td>
<td> </td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td valign="top" class="body-heading2">General feedback </td>
<td class="body-text">
<textarea name="generaltext" cols="50" rows="5" class="body-text" id="generaltext">Comment: </textarea></td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td valign="top"> </td>
<td> </td>
</tr>
<tr bordercolor="#000000" class="body-text">
<td valign="top"> </td>
<td><input type="submit" name="Submit" value="Submit"></td>
</tr>
</table>
</form>
<p> </p> </td></tr>
<tr>
<td>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
</table>
</body>
</html>