You need to get the value from the page and then store it in the textbox.Originally Posted by kris.c
Code:myPNum = Request.QueryString("num") <input type="hidden" name="pnum" value="<%=myPNum%>">
Hi,
I am trying to design an online auctioning site.
This is what i have as of now:
1) one HTML front end to accept the product number
2) an asp file " material" obtains the product number from the html file and displays the appropriate info from the database and asks the user to enter the bidding price
3) another asp file "bidding" requires the product number the user has entered in the first page and the bidding price the user has entered in the second page
The objective is not to ask the user to enter the product number again in the "material" form
This is what I had tried :
In the asp file "material" the product number is stored in a variable "pnum"
so, while invoking the "bidding file" , i thought of something like this :
<form action="http://localhost/MyWeb/product/templates/bidding.asp" method="get">
<input type="hidden" name="pnum" value="num"><br>
<p style='color:green' size='10'> Enter the bidding price <input type="hidden" name="price"><br>
<input type="submit" name="action" value="save">
But, i am not able to get it to work.
Any ideas?
Thanks,
kris
You need to get the value from the page and then store it in the textbox.Originally Posted by kris.c
Code:myPNum = Request.QueryString("num") <input type="hidden" name="pnum" value="<%=myPNum%>">