Q
Quinniee
I have inherited a asp.net (which I know nothing about) site and i'm
attempting to redirect to another page after the form is submitted.
Right now the form validates some required info, submits, emails the
results to a static email address, then basically resets the form. I'm
looking to simply redirect to a "thank you" page after the form has
been submitted and the email has been sent. I'm not sure what code
will help but here are some snippets.
<form name="my form" runat="server">
<asp:Button runat="server" Text="Submit" CausesValidation="true"
OnClick="SubmitButton_Click" />
When I look at the HTML of the created aspx page I can see it creates
some javascript and uses webresources.axd.
I would GREATLY appreciate any help.
attempting to redirect to another page after the form is submitted.
Right now the form validates some required info, submits, emails the
results to a static email address, then basically resets the form. I'm
looking to simply redirect to a "thank you" page after the form has
been submitted and the email has been sent. I'm not sure what code
will help but here are some snippets.
<form name="my form" runat="server">
<asp:Button runat="server" Text="Submit" CausesValidation="true"
OnClick="SubmitButton_Click" />
When I look at the HTML of the created aspx page I can see it creates
some javascript and uses webresources.axd.
I would GREATLY appreciate any help.