Results 1 to 3 of 3

Thread: I bet no one can answer this one!

  1. #1

    Thread Starter
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    Sorry about the subject but at least you read it!


    my ASP loads a dynamic array of checkboxes for the user to make selections

    How do I post these to another page to test for value so I can update my database?


    Mark
    -------------------

  2. #2
    Lively Member
    Join Date
    Aug 1999
    Posts
    89
    By saying it is an array of checkboxes, i'm assuming your checkboxes are having name such as check1,check2,...
    Then you'll need to post the number of checkboxes to the next page. This won't be too hard and there's a few ways to do it. I guess you are capable of doing that.

    At the next page, just do a for statement to browse thru all the request.form("check" & i to request.form("NumOfCheck")).

    Alternately you can store all your checkboxes name in a session array and do a ubound to find the number of checkboxes in the session array. But this is not recommended cause this will take up a lot of memory.

  3. #3

    Thread Starter
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    okey dokey lychew!

    Thanks
    Mark
    -------------------

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