Thanks so much for the quick reply. I add the above code at the end of the functions.php file and got this error:
Parse error: syntax error, unexpected T_FUNCTION, expecting T_STRING or T_VARIABLE or ‘$’ in /html/wp-content/themes/machine/functions.php on line 283
Am I putting it in the right place? Should it go before or after a certain code segment?
Also, is there a way to restrict the character limit to only one of the textarea fields? For example, if I have textarea A that should be 400 or less and textarea B that can be more than 400, is there a way to distinguish them?
Thanks again for all your help!