I'm trying to validate a generic contact form that's provided by my CRM unfortunately they control the server side script that puts the information into the CRM.
The name of some of the form fields have spaces in them. How can I accommodate for that?
if ( document.contact_form.First Name.value == "" )
{
alert ( "Please fill in the 'First Name' box." );
valid = false;
}