two forms on one asp.net page
<p>I have an asp.net page with a nested master page. Parent master page has form tag like this:</p>

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

<p>and in child master page. I have a side bar where I have another form ( not runat=server") like this:</p>

<pre><code>&lt;form method="post" action="https://app.icontact.com/icp/signup.php" name="icpsignup" id="icpsignup3297" accept-charset="UTF-8" onsubmit="return verifyRequired3297();" &gt;

&lt;input type="hidden" name="redirect" value="http://www.abconline.com/newsletter-sign-up.aspx"&gt;
&lt;input type="hidden" name="errorredirect" value="http://www.icontact.com/www/signup/error.html"&gt;

....
....
....
&lt;input type="submit" name="Submit" value="Get Deals"&gt;
&lt;/form&gt;

&lt;script type="text/javascript"&gt;

    var icpForm3297 = document.getElementById('icpsignup3297');

    if (document.location.protocol === "https:")

        icpForm3297.action = "https://app.icontact.com/icp/signup.php";
    function verifyRequired3297() {
        if (icpForm3297["fields_email"].value == "") {
            icpForm3297["fields_email"].focus();
            alert("The Email field is required.");
            return false;
        }


        return true;
    }
&lt;/script&gt;
</code></pre>

<p>but when I hit submit button, post back happens but javascript function is not called and form is not redirected to post url of child master page. It works fine if i use this form in a standalone page without master pages.</p>

<p>Please suggest how to force form inside child master page to go to post URL ?</p>

<p>Thanks.</p>
