imposible to tell without seeing the entire page code rather than just the form code, but my guess is that the validation behavior is expecting the information to be sent through the POST, but since your form does not set a method, it is using GET.
try changing:
<form action="" name="form2" id="form2">
to:
<form action="" name="form2" id="form2" method="POST">
if it is still not working, compress the php file to a zip archive and attach the zip file to your reply.