Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder
    Join Date
    May 2004
    Posts
    1,457
    Thanks
    15
    Thanked 0 Times in 0 Posts

    retrieving values of a checkbos

    i have a form with a checkbox called productids
    for example

    <input type="checkbox" name="productids" value"1">

    <input type="checkbox" name="productids" value"2">

    <input type="checkbox" name="productids" value"3">

    <input type="checkbox" name="productids" value"4">

    <input type="checkbox" name="productids" value"5">

    now it's very strange when i do
    productids=request("productids") then if i have say 3 & 4 selected
    in ie it shows me the resluts as on,on instead of 3,4
    and in firefox ,
    why?
    what am i doing wrong?

  • #2
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    You've got a typo:

    value"5"

    should be

    value="5"

  • #3
    Regular Coder
    Join Date
    Nov 2007
    Posts
    110
    Thanks
    0
    Thanked 1 Time in 1 Post
    server request will return only on/off or trye false it will not return the value u gave


  •  

    Posting Permissions

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