How to used ASP & Multiple Textarea This the tutorial/example a scripts how to use ASP & Multiple Textarea
ShotDev Focus:
- ASP & Multiple Textarea
Example
asp_multiple_textarea1.asp
<html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form action="asp_multiple_textarea2.asp" method="post" name="form1"> <textarea name="txtDescription" cols="20" rows="3"></textarea><br> <textarea name="txtDescription" cols="20" rows="3"></textarea><br> <textarea name="txtDescription" cols="20" rows="3"></textarea><br> <input name="btnSubmit" type="submit" value="Submit"> </form> </body> </html>
asp_multiple_textarea2.asp
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
Dim i
i = 0
For Each txtVol in Request.Form("txtDescription")
Response.write "txtDescription " & i & " = <br>" & Replace(txtVol,vbCrLf,"<br>") & "<hr>"
i = i + 1
Next
%>
</body>
</html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_multiple_textarea1.asp
Screenshot




1pumpkin…
…