Solved

Form post and ASP

Posted on 1998-06-03
2
186 Views
Last Modified: 2013-12-25
I have a form on a page and it submit text from an edit box with the post method. How to post to an asp page and how to retreive parameters in asp page?
0
Comment
Question by:fmichaud061597
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
vvk earned 50 total points
ID: 1856973
You can use standard method "POST". In asp page to retrieve values use Request.Form("field name"), if send as parameter (pagename.asp?param_name=value) use Request.QueyValue("param_name")
0
 
LVL 28

Expert Comment

by:sybe
ID: 1856974
example:

page 1, this form is posted:

<form action="page2.asp" method=POST>
<input type-"text" name="myName">
<input type-"text" name="myAddress">
<input type-"submit" name="submitbutton" value="Press to submit">
</form>




page 2 (page2.asp), will display the test which was filled in the textfields of the form:
<%
Response.write Request.Form("myName") & "<br>"
Response.write Request.Form("myAddress") & "<br>"
%>


0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question