Results 1 to 3 of 3

Thread: reqeust.form

  1. #1
    stella Guest

    Default reqeust.form

    Hi all,<BR><BR>I have to pass 15 text box values which named test1 thru test15.<BR>I&#039;d like to put that into for loop.<BR>For example<BR>for x = 1 to 15<BR>SectionText & x = Request.Form("SectionText & x")<BR> next<BR>

  2. #2
    stella Guest

    Default RE: reqeust.form

    It was posted my mistake.<BR>anyway, let me finish it.<BR>I&#039;d like to put it into loop so, I don&#039;t have to write request.form 15 times.<BR><BR>Anybody can help me?<BR><BR>Thanks in advance.<BR>

  3. #3
    Join Date
    Dec 1969
    Los Angeles, CA

    Default small problemS

    use this<BR>Request.Form("SectionText" & x) to get the value<BR><BR><BR>then i do not think you can use SectionText & x for a variable bet is if you use an array <BR><BR>so arr(x) = Request.Form("SectionText" & x)<BR><BR>OR<BR><BR>jsut give all the text boxes the same name and then use the split function for the resulting ,[space] delimited string to do what you want<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts