this is the most common problem with forms and validation.
you have the action of the form to post to another page:
<form id="form1" name="form1" method="post" action="gdform.php">
when the form posts, it posts directly to the action page.
all form processing (Including server validation) must occur on the forms action page.