Textarea and Carriage Return problem.
I have set up a form with a textarea to accept the comment from user.
I have a function to validate the bad characters to the textarea and it seems to me that it doesn't accept the carriage return. When I hit the enter key and click submit, my error trap returned that was the bad character.
How I can work around this problem please? Thanks for all helps.
|