John:
In the UBB script the form tag is as follows.
<FORM ACTION="postings.cgi" NAME="REPLIER" METHOD="POST">
then in the textarea you have
<TEXTAREA NAME="ReplyMessage" ROWS=20 COLS=60 WRAP="VIRTUAL">$InsertPostMess$ReplyMessage</TEXTAREA>
and the code for the spellchecker is
<INPUT TYPE="BUTTON" VALUE="Spell Check" onclick="var f = document.forms[0]; doSpell( 'en', f.ReplyMessage, document.location.protocol + '//' + document.location.host + '/cgi-bin/spellcheck.cgi', true);">
So the spellcheck uses the Textarea name in its script.
In vB you use:
<TEXTAREA NAME="message" ROWS=20 COLS=60 WRAP="VIRTUAL">$message</TEXTAREA>
so the code for spellcheck would be:
<INPUT TYPE="BUTTON" VALUE="Spell Check" onclick="var f = document.forms[0]; doSpell( 'en', f.message, document.location.protocol + '//' + document.location.host + '/cgi-bin/spellcheck.cgi', true);">
Would maybe changing the name in the textarea to ReplyMessage like what is used in UBB make any difference.
Parker
[Edited by Parker Clack on 05-06-2000 at 05:58 PM]
|