Sorry, I don't check this forum every day. Here's the change made in a template, to avoid the javascript error caused by applying the template change suggested in the original post:
=============
In Templates -> Show Thread Templates -> showthread
Added
<script language="javascript">
<!--
var postmaxchars = 20000;
function validate(theform) {
if (theform.message.value=="") {
alert("Please complete the message field.");
return false; }
if (postmaxchars != 0) {
if (theform.message.value.length > 20000) {
alert("Your message is too long.\n\nReduce your message to 20000 characters.\nIt is currently "+theform.message.value.length+" characters long.");
return false; }
else { return true; }
} else { return true; }
}
function checklength(theform) {
if (postmaxchars != 0) { message = "\nThe maximum permitted length is 20000 characters."; }
else { message = ""; }
alert("Your message is "+theform.message.value.length+" characters long."+message);
}
//-->
</script>
After the other </script> tag in the head
=============
Replace 20000 by the maximum post size at your board.
|