p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Classic ASP Databases (http://p2p.wrox.com/forumdisplay.php?f=62)
-   -   How to submit the different data on single submit (http://p2p.wrox.com/showthread.php?t=53080)

pushpa January 23rd, 2007 03:28 AM

How to submit the different data on single submit
<%@ language=VBScript %>

<html >
<title>Encore Support Portal</title>
<form name="test1" action="test.asp" method="post" id="form1">
<input type="text" name="fname">
<input type="text" name="lname">

<form name="test" action="test.asp" method="post">
<input type="text" name="education">
<input type="text" name="profession">
<input type="submit" name="Submit" value="Generate" ID="Submit1">




plz anybody tell me how to submit the different data of different forms if the asp on single submit.

slobodanves January 24th, 2007 07:10 PM

<form action="test.asp?n=1" method="post">
First Name: <input type="text" name="fname" id="fname"><br />
Last Name: <input type="text" name="lname" id="lname"><br />
Profession: <input type="text" name="prof" id="prof"><br />
Education: <input type="text" name="educ" id="educ"><br />
<input type="submit" value="Generate">
if request.querystring("n")=1 then
response.write(fname&"<br />")
response.write(lname&"<br />")
response.write(prof&"<br />")
response.write(educ&"<br />")

All times are GMT -4. The time now is 03:18 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.