Results 1 to 3 of 3

Thread: get all textbox values at once

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    12

    Arrow get all textbox values at once

    Is there any way of looping through every textbox in a form to get thier values.

    This is how i have done it in ASP....
    For Each objItem In Request.Form

    It will save me having to write out a string for every textbox....
    saveStr = saveStr & "email=" & email.text
    saveStr = saveStr & "firstname=" & firstname.text
    saveStr = saveStr & "lastname=" & lastname.text
    saveStr = saveStr & "comments=" & comments.text
    and so on for over 50 textboxes
    Last edited by gingernuutter; Aug 17th, 2001 at 08:08 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width