Note the above is on 1 line in my page.Code:if (formObj.elements("txtName").value == "") || (toUpperCase(formObj.elements("txtName").value) != "TEST USER")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 ?!?!?




I'm trying to check if
Reply With Quote