I'm a little bit of a newbie here, so if you could please either help me answer this problem or point me somehwere where I might find the answer it would be greatly appreciated.
Here is a sample of my xml file structure:
<blank_first_name>You must enter your first name.</blank_first_name>
first_name_error.innerHTML = xmlDoc.getElementsByTagName("blank_first_name").childNodes.nodeValue;
What happens when I click submit is that the form goes ahead and submits, foregoing all validation. When I replace my xml error messages with a regular text string (i.e. first_name_error.innerHTML = "this is an error"), everything works great.
I have also validated my xml document to ensure there are no errors in it.
I realize that it may be a seemingly easy answer or a very obvious solution to some, but I've been searching for a solution going on 3 days now to no avail, so any help as to why this is not working would be greatly appreciated.
Thank you for your time.