How to used ASP & Multiple Hidden Field This the tutorial/example a scripts how to use ASP & Multiple Hidden Field
ShotDev Focus:
- ASP & Multiple Hidden Field
Example
asp_multiple_hidden1.asp
<html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form action="asp_multiple_hidden2.asp" method="post" name="form1"> <input type="hidden" name="hdnSiteName" value="ShotDev.Com"> <input type="hidden" name="hdnSiteName" value="Hotmail.Com"> <input type="hidden" name="hdnSiteName" value="Google.Com"> <input name="btnSubmit" type="submit" value="Submit"> </form> </body> </html>
asp_multiple_hidden2.asp
<html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <% Dim i i = 0 For Each txtVol in Request.Form("hdnSiteName") Response.write "hdnSiteName " & i & " = " & txtVol & "<br>" i = i + 1 Next %> </body> </html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_multiple_hidden1.asp
Screenshot