asp.net: Setting up multiple forms on a page
<p>I have a master page that contains a search box which is validated as a required field before the user can submit the search field.</p>

<p>The problem I'm having now is that one of my content pages has a DetailsView which won't let me edit a record, because the search box coming from the master page is blank.</p>

<p>The structure of the code is like this:</p>

<p>Master Page:</p>

<pre><code>&lt;form runat="server"&gt;

&lt;asp:RequiredFieldValidator ID="SearchBoxRequiredFieldValidator" 
                        runat="server" ControlToValidate="searchTextBox" 
                        Display="None" ErrorMessage="Enter an employee's last name"&gt;&lt;/asp:RequiredFieldValidator&gt;

&lt;asp:TextBox ID="searchTextBox" autocomplete ="off" runat="server" Width="180px"&gt;&lt;/asp:TextBox&gt;

&lt;asp:Button ID="SearchButton" runat="server" Text="Employee Search"/&gt;

&lt;!--.....--&gt;

&lt;asp:ContentPlaceHolder ID="MainContent" runat="server"/&gt;

&lt;/form&gt;
</code></pre>

<p>The "MainContent" placeholder is populated with a page with only a DetailsView.  How should I change my code so that I can submit forms from my MainContent pages, but also allow the Master page's search feature to function properly?</p>

<p>I'm pretty new to asp.net forms, so any help is greatly appreciated!</p>
