Code:
if (formObj.elements("txtName").value == "") || 
(toUpperCase(formObj.elements("txtName").value) != "TEST USER")
Note the above is on 1 line in my page. I'm trying to check if
a) the textbox has an entry
b) if it says test user

The formobj bit is okay too - that's a document.formname variable.
What's wrong with the above syntax please ?!?!?