General developer forum

Is this form clean or does it have validation errors?

 
Picture of Martin Greenaway
Re: Is this form clean or does it have validation errors?
 

I have solved this in Javascript, by grabbing the array of div.error elements, and working out if length is greater than 0. However, if there is a way to do this in PHP it would be massively preferable.

 
Average of ratings: -