Query on submitting forms using ASP
Hello. I have made a form using Html language as the static page. The form contains a submit button and I want it to be dynamically redirected to the other page with the help of ASP(dynamic page) when been clicked. I use IE 8 as my web browser. I do not know how to do it as I am new to asp. Please help me out. I want to make it as soon as possible. Thank you.
Re: Query on submitting forms using ASP
You might have created the form using HTML language. Now the thing you need to do is when the submit button is clicked it should redirect to different page with the help of dynamic content and it can be done by mentioning the asp form name on the post section of the form. You can do it by just creating one asp page for redirection of the page and linking the name of the form with the extension on post method.
Re: Query on submitting forms using ASP
The code for your form can be serialized or be coded in a specific form. I set you a example for an email messaging form post method. This has to seen that the method should be post and action parameters should be mentioned with the asp page. The email messaging form contains name, emails and comments. The asp code for the following is as:
<%
Dim name, email, comments
'Receiving values from Form, assign the values entered to variables
name = Request.Form("name")
email = Request.Form("email")
comments =Request.Form("comments")
%>
Source: codingforums.com
Re: Query on submitting forms using ASP
As the above solutions might have helped you out in how to make the page and post the method with mean of the page to be in action. This is how you can redirect the page using asp that is dynamically. Now the only thing left is connectivity that is not a big issue as far as it depends what backend you use that is the database to store the inserted values. For a suggestion MS Access is easy and not complicated for a beginner.