C
COHENMARVIN
I'm a asp programmer starting out with asp.net. I understand that an
asp form can post to its own page and that this allows validation of
form fields on the server. But suppose all the controls turn out to be
valid, and now I want to move to a new page?
My form declaration looks like this:
<form METHOD="POST" ACTION="sites2.aspx" name="MyForm" runat="server">
This form declaration is on a page called sites1.aspx, but it doesn't
post any data to sites2.aspx. In fact, "sites2.aspx" doesn't show up
at all, instead I keep getting sites1.aspx every time I click on the
SUBMIT button.
What am I doing wrong?
Thanks,
CohenMarvin
asp form can post to its own page and that this allows validation of
form fields on the server. But suppose all the controls turn out to be
valid, and now I want to move to a new page?
My form declaration looks like this:
<form METHOD="POST" ACTION="sites2.aspx" name="MyForm" runat="server">
This form declaration is on a page called sites1.aspx, but it doesn't
post any data to sites2.aspx. In fact, "sites2.aspx" doesn't show up
at all, instead I keep getting sites1.aspx every time I click on the
SUBMIT button.
What am I doing wrong?
Thanks,
CohenMarvin