> you could also just check for: > > if(myForm.elements['myField'].value) { doSomething() } > > assuming your form was anything but boolean Well, if the user enters 0 (zero) then the above if expression would evaluate as false in JavaScript, even though the user indeed entered data, so I wouldn't actually recommend this. :) Hershel