SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru Chroniclemaster1's Avatar
    Join Date
    Jun 2007
    Location
    San Diego, CA
    Posts
    784
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    where are the values??

    I'm building a dynamic form, but I've run into an unexpected behavior. The dynamic part is working fine and the HTML output is beautifully customized. However, when the HTTP Request is returned it's missing all the value information. I didn't even think that was possible, but checking the checkboxes returns the name attributes of each checked box, but they are all missing their paired values.

    My testing page is at http://beta.earthchronicle.com/ECBet...putOutput.aspx

    The HTML is

    <td>
    Row: 1 ; Column: 2
    <input name="Page1-Test2" id="Page1-Test2" value="complete" type="checkbox">
    </td>

    Yet when the request comes back, it has the name but it's value is not "complete" but an empty string. I don't get that at all.

    Oh and my 6year old says hi

    Whatever you can do or dream you can, begin it.
    Boldness has genius, power and magic in it. Begin it now.

    Chroniclemaster1, Founder of Earth Chronicle
    A Growing History of our Planet, by our Planet, for our Planet.

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,592
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    I doubt this is an HTML issue. Presumably you are processing this information with PHP? Normally you would have a name="" attribute that is picked up by the script, which then grabs the value. What's your processing code?

  3. #3
    Non-Member Kalon's Avatar
    Join Date
    Aug 2010
    Location
    At my computer
    Posts
    2,012
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you'll need to post your actual ASP code for anyone to be able to help you fix the problem.


Bookmarks

Posting Permissions

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