Request.Form returns nothing

Discussion in 'ASP General' started by dagurp, Oct 19, 2005.

  1. dagurp

    dagurp Guest

    I have a long list of checkboxes and a text field is associated with
    each checkbox. So I created a loop that should get the value of each
    text field that has a marked checkbox next to it. Here's my code

    for each g in gildi
    aths = Request.Form("rok_" & g)
    ...
    next


    then I create a query with the value and send it. Anyway here's my
    problem:

    the aths variable gets the correct value on the first iteration but is
    blank every time after that. Please help, this is urgent.
     
    dagurp, Oct 19, 2005
    #1
    1. Advertisements

  2. dagurp

    dagurp Guest

    I figured out a solution. For some reason I had to do g = Int(g) first
     
    dagurp, Oct 19, 2005
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.