<%response.write"<input type=""text"" name=""txt""&i& size=""20"">"%>

Should be :
 
  <%response.write"<input type=""text"" name=""txt" &i& """
size=""20"">"%>

And this :
 
response.write(request.form('"txt"'&i))

should be :
 
response.write(request.form("txt"&i))
 
(no additional quotes).

Give that a go, see if it makes a difference.

Dan



________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Jegatha
Sent: 01 August 2005 10:54
To: [email protected]
Subject: RE: [AspClassicAnyQuestionIsOk] link


code is
/***second page **/
<%
session("txt")=request.form("TxtBox")
txtbox=request.form("TxtBox")
if (txtbox>0) then
response.write "Name Of Text Fields"
response.write "<br>"%> <table width="197" border="0" bgcolor="#ACAAA8"
style="border-collapse: collapse" bordercolor="#111111" cellpadding="0"
cellspacing="0">

<%for i=1 to txtbox %>
<tr><td width="191" bgcolor="#E2E1E0">
  <p align="left">&nbsp;&nbsp;&nbsp;
  <%response.write"<input type=""text"" name=""txt""&i& size=""20"">"%>
</td></tr>
<%next%>
</table>


/****third page**/

<%
dim txtno
txtno=session("txt")
For i = 1 to txtno
response.write(request.form('"txt"'&i))
next
%>

Jegatha

Dan Powderhill <[EMAIL PROTECTED]> wrote:
Can you post your code?

Dan

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Jegatha
Sent: 01 August 2005 10:13
To: [email protected]
Subject: RE: [AspClassicAnyQuestionIsOk] link


No Dan,i couldn't get the answer.
the result is blank page only.

Jegatha

Dan Powderhill <[EMAIL PROTECTED]> wrote:
In page 2 store the number of textboxes in either the session, or (my
preferred method) in a hidden text field.

Name them in page 2 like this :-

numTextboxes = request.form("numTextBoxes")
Response.write "<input type=""hidden"" name=""numTextBoxes"" value=""" &
numTextBoxes & """>" & VbCrLf
For i = 1 to numTextBoxes
    response.write "<input type=""text"" name=""textbox" & i & """>" &
VbCrLf
next

Then in page 3 refer to the textboxes like this :-

numTextboxes = request.form("numTextBoxes")
For i = 1 to numTextBoxes
    response.write "Textbox " & i & " had a value of " &
request.form("textbox" & i) & "<br />" & VbCrLf
next

Dan

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Jegatha
Sent: 01 August 2005 09:11
To: [email protected]
Subject: RE: [AspClassicAnyQuestionIsOk] link


here we can get the number of ttext boxex through session also.But i
want to know how to name the text boxes in page2.
eg: n=4
first method:

for Txtb=1 to 4
response.write "<input type=text name="1">
next /*****here all text boxes have the same name**/

second method
<%dim name1
name1=1
for Txtb=1 to 4
%>
<input type=text name=<%=name1%>
<%
name1=name1+1
next 
%> /***here i don't know how to get the name in next page**/

Jegatha

Dan Powderhill <[EMAIL PROTECTED]> wrote:
Name the textboxes something like "textbox1", "textbox2" etc, then store
the number of textboxes the user requested in a hidden form field in the
second page. On the third page retrieve that value (number of textboxes)
and loop through from 1 to whatever value they entered, getting the
values back.

Dan

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Jegatha
Sent: 01 August 2005 08:05
To: Asp
Subject: [AspClassicAnyQuestionIsOk] link


Hai all,
i have 3 pages,
first page i just get number of text boxes using text box,
second page depends upon the number i should display the text box and
enter the names for the text boxes,
in my 3rd page i should create form using that text boxes,

now i have the problem with getting the name in the third form,i used
session object but no result.

any one help to sort out?

thank u

regards,
jegatha

            
---------------------------------
Free antispam, antivirus and 1GB to save all your messages
Only in Yahoo! Mail: http://in.mail.yahoo.com

[Non-text portions of this message have been removed]



________________________________

YAHOO! GROUPS LINKS 


      
*      Visit your group "AspClassicAnyQuestionIsOk
<http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk> " on the web.
        
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
subscribe> 
        
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 


________________________________




[Non-text portions of this message have been removed]



---------------------------------
YAHOO! GROUPS LINKS 


    Visit your group "AspClassicAnyQuestionIsOk" on the web.
  
    To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



---------------------------------



            
---------------------------------
Too much spam in your inbox? Yahoo! Mail gives you the best spam
protection for FREE!
http://in.mail.yahoo.com

[Non-text portions of this message have been removed]




SPONSORED LINKS 
Programming languages
<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Programmin
g+languages&w2=C+programming+language&w3=Computer+programming+languages&
w4=Java+programming+language&w5=C+++programming+language&w6=History+of+c
omputer+programming+language&c=6&s=198&.sig=hjFSMmldhVc3zrT5SqL9xQ>
C programming language
<http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=Programmi
ng+languages&w2=C+programming+language&w3=Computer+programming+languages
&w4=Java+programming+language&w5=C+++programming+language&w6=History+of+
computer+programming+language&c=6&s=198&.sig=td85HQ93XfErfw7wfLZ86A>
Computer programming languages
<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=P
rogramming+languages&w2=C+programming+language&w3=Computer+programming+l
anguages&w4=Java+programming+language&w5=C+++programming+language&w6=His
tory+of+computer+programming+language&c=6&s=198&.sig=BMtgOo7dpsC1xzn1Ygp
BPg>        
Java programming language
<http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Progra
mming+languages&w2=C+programming+language&w3=Computer+programming+langua
ges&w4=Java+programming+language&w5=C+++programming+language&w6=History+
of+computer+programming+language&c=6&s=198&.sig=8IuywkhSLTtpB6_iFiJoCQ>
C programming language
<http://groups.yahoo.com/gads?t=ms&k=C+++programming+language&w1=Program
ming+languages&w2=C+programming+language&w3=Computer+programming+languag
es&w4=Java+programming+language&w5=C+++programming+language&w6=History+o
f+computer+programming+language&c=6&s=198&.sig=jpmDiGf8qD8AqZNqFwDO7w>
History of computer programming language
<http://groups.yahoo.com/gads?t=ms&k=History+of+computer+programming+lan
guage&w1=Programming+languages&w2=C+programming+language&w3=Computer+pro
gramming+languages&w4=Java+programming+language&w5=C+++programming+langu
age&w6=History+of+computer+programming+language&c=6&s=198&.sig=9slR1_vZJ
lvyOINA4iLkow>        

________________________________

YAHOO! GROUPS LINKS 


      
*      Visit your group "AspClassicAnyQuestionIsOk
<http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk> " on the web.
        
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
subscribe> 
        
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 


________________________________




[Non-text portions of this message have been removed]



---------------------------------
YAHOO! GROUPS LINKS 


    Visit your group "AspClassicAnyQuestionIsOk" on the web.
  
    To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



---------------------------------



            
---------------------------------
Too much spam in your inbox? Yahoo! Mail gives you the best spam
protection for FREE!
http://in.mail.yahoo.com

[Non-text portions of this message have been removed]



________________________________

YAHOO! GROUPS LINKS 


      
*      Visit your group "AspClassicAnyQuestionIsOk
<http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk> " on the web.
        
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
subscribe> 
        
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 


________________________________




[Non-text portions of this message have been removed]



SPONSORED LINKS 
Programming languages C programming language Computer programming
languages Java programming language C programming language History of
computer programming language 

---------------------------------
YAHOO! GROUPS LINKS 


    Visit your group "AspClassicAnyQuestionIsOk" on the web.
  
    To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



---------------------------------



            
---------------------------------
Free antispam, antivirus and 1GB to save all your messages
Only in Yahoo! Mail: http://in.mail.yahoo.com

[Non-text portions of this message have been removed]



________________________________

YAHOO! GROUPS LINKS 


        *        Visit your group "AspClassicAnyQuestionIsOk
<http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk> " on the web.
          
*        To unsubscribe from this group, send an email to:
         [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
subscribe> 
          
*        Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 


________________________________




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h2h2ptu/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1122898319/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to