Thanks Jake Bug eyed as I am I did notice the 'lenth' so I'll do a spell check though I'm sure the class = has the same spelling error I'll check it out to be sure. Yeah I miss spelled it all the way through so it shouldn't be a problem. Wierd, I thought I had used word to spell check that.
Done. Now alert required 0 id is firing null! so I guess you can't get the id of an element you got by class name index? Wierd, developer tools lists the id of each element found so there must be a way to use var firstname equals reqired 0 var second equals required 1 etc. to put into an array say array required then get the id and value of each to str to put in inner html?
var required=document.getElementsByClassName('required ');
str='Contact Form Errors:<br />'
for(i = 0; i < required; i++)//length returns null
str+=required[i].id.toUpperCase() +': '+required[i].value + '<br />'
gloria.innerHTML=str;//Reads 'Contact Form Errors:'
alert(str);//Reads 'Contact Form Errors:<br />'
Wow it's not working on the array :p:sick::injured: