View Full Version : Having Problems with Form Validation...

05-06-2008, 07:41 AM
I keep looking at it, and everything looks all right to me...
I think either there's something vital that I'm missing that I just can't spot on my own, or that I've just messed up in a way that I can't solve on my own.

Can anyone help me out?


05-06-2008, 07:42 AM
Could you be more specific?

05-06-2008, 07:47 AM
You mean in what it's supposed to do?

It's supposed to send error messages if a required field isn't filled out, and it's supposed to e-mail the results to me--although I think that's part of the PHP I haven't gotten to yet.

Here's the basics I was given:


Use JavaScript to ensure that data is legitimate, for example, the number of clowns in the little car can only be an integer.
# Use PHP to create an XML document holding the data

Convert the form data to XML and write it to a file using PHP. Store the file on the server.