Can anyone tell me why this For loop isn't working (see below)
The error message is says:
Error: 'document.emailForm.FNAME_CHILD' is null or not an object
Thanks in advance,
Alan R
// Loop to check if first name field is populated - send info to
childnamecheck function
for(i = 1; i < 6; i++)
{
if (document.emailForm.FNAME_CHILD[i].value !='')
{
childnamecheck(i)
}
}
if (Ok == false)
{
missinginfo += "\n - There is information missing from your Child
details ";
}