Hi [EMAIL PROTECTED],
I use the same type of checking on input type=text boxes and it works
fine.
Any ideas why it doesn't work on a textarea field?
The crlf can be one reason. textareas are not the same like textboxes
and you give them parameters how large (horizontal size) and how high
On Tuesday 27 August 2002 23:26, [EMAIL PROTECTED] wrote:
I have some error checking routines for my web forms, and they are working
great except for one
field, a textarea field. I am using the following code, but it does not
give an error when the field is
empty:
if (empty($feedback))
{
Thankyou Jason, the problem was indeed in the html code. The code was
broken
into multiple lines and indented, by moving it all onto one line with no
spaces between the it now works. Also, when I tab or place the cursor
inside
the textarea, the cursor now is placed in the upper left corner,