Results 1 to 3 of 3

Thread: Check box Question

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2000
    Posts
    156

    Unhappy

    hi there all, watching the olympics ?

    i have this problem :

    in a form i have unknown number of checkboxs and a submit button,
    i want to know on a submit click which checkbox is checked.

    how can i do this.
    it is important to know which of the checkbox because every checkbox have a different value...

    hope u can help me i m realy stuck.

    tnx lirlir
    The MORE I get to know,
    I realize that I know NOTHING !

  2. #2
    Addicted Member Skeen's Avatar
    Join Date
    Jul 2000
    Location
    Abingdon, Oxon
    Posts
    138

    Smile Hi lirlir,

    I would think you'd need to use a scripting language such as VB Script or Java Script to acheive this, something like:

    If (Ch1) <> 0 Then
    Response.Write ("CheckBox_1 Clicked)
    If Else (Ch2) <> 0 Then
    Response.Write ("Checkbox_2 Clicked)


    etc etc, I don't know if this sytax is correct because I'm still learning VB, but I reckon you'll get a few more replies. Hope this helps,

    Skeen.
    "It wasn't the booze that made me snooze, It was the Gin that did me in!"

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jun 2000
    Posts
    156

    Wink

    hi ,

    i solved my problem tnx anyway!

    lirlir,
    keep on watching the games...
    The MORE I get to know,
    I realize that I know NOTHING !

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