I've got this simple form that allows the user to enter a name, subject and comments. Name and subject are just text input fields and comments is a textarea field.
I'm using !ereg to check for syntax which works fine for both the name and subject fields but doesn't work if the user hits "return" in the comments (textarea) field - i.e. enters a line break.
What do I need to add to the character string in !ereg to allow line breaks to be entered?
Thanks!
I hope that made sense!
Gavin