Author: cpezie | Posted on: 12/30/2009 8:38:41 AM | Views : 511

So I successfully set a form for users to enter name, email, etc for meeting registration however if you decide not to fill in the form and want to navigate to another section of the website the field validation error appears.  How do I tell the form to do nothing when the fields are not completed?
It's almost like the form is trying to submit the data even though the user didn't select the submit button.
Here's some of the code: 
<td>Enter Attendees Name</td>
    <td style="width: 11px">
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
         ControlToValidate="on2" ErrorMessage="Please enter your name" Text="*">
Go to the complete details ...