Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: Intermediate
Dec 15, 1998

Display Values of Fields on Confirmation Page

Using Active Server Pages, you can easily get the values of fields on a form to display on another Web page for user validation as a simple confirmation page.

In the page with the <form> tag, you might have:

 
<form method=post action=NextPage.asp>
<input type=text name=txtName id=txtName>
<input type=sumbit>
</form>
On NextPage.asp you can include the following code to extract the values into variables:
 
<%
sName = Request.Form("txtName")
%>
When the above code runs, the variable, "sName", will contain the value of the "txtName" textbox on the preceding page.
Charles Caison,
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date