Important Notes: There must be a newline separating the <TEXTAREA> and </TEXTAREA> tags for the post field. This allows the CGI script to know where to insert the original post if you are replying. Also, the <FORM> tag must be on one line (no line breaks). Finally, the FORM ACTION must be "add.cgi".
You might want to keep the JavaScript field checking functions. The same fields are checked in the CGI script, but for browsers supporting JavaScript, it provides quicker feedback.