I am looking for a way to run the code below:
if (newForm.Registration Code.value == ""
{
alert("You must enter a Registration Code"
newForm.Registration Code.focus()
return false
}
The problem is there is a space character in the name of the text field.
How can I read the value of a form element if there is a space in the name? Do I have to make the space an under score?
if (newForm.Registration Code.value == ""
alert("You must enter a Registration Code"
newForm.Registration Code.focus()
return false
}
The problem is there is a space character in the name of the text field.
How can I read the value of a form element if there is a space in the name? Do I have to make the space an under score?