The form action code is:
<?php
$name = $POST['name'];
$comment = $POST['comment'];
$output = "NAME: \t".$name."\tCOMMENT:\t".$comment."\n";
$handle = fopen("d:\hshome\c239198\local54memberforum.com\info.txt", "ab");
fwrite($handle, $output);
echo "<p>COMMENT SUBMITTED</P>";
?>
The Javascript is:
<script language="JavaScript" type="text/javascript">
function submit ()
{
document.login.submit() ;
}
</script>
With
<input type="hidden" name="supporttype" />
<a href="javascript:submit()">Submit Comment</a><br>
As the submit link.
When I use this script WITHOUT the Javascript, it works, but for some reason with the javascript, the "name" input is working, but the <textarea> input is not.