#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Location
    sweden
    Posts
    4
    Rep Power
    0

    Exclamation Problem with checkboxes - arrays in ASP


    I have a html page with 20 checkboxes in it.
    I want to compare the value av the checkboxes ( when the user choose them) with an array which has 5 values.
    My checkboxes have different values but same name....
    It has to work like this that the user marks the checkboxe and sumbit the form. The result should sends as an email and my program has to compare the checkboxes values and the values in my array och write the result in the email that should be send away.
    I really appriciate some help here because I need this as quickly as possible.
    You kan send me email to
    betisa_30@hotmail.com

    Thank you very much
  2. #2
  3. No Profile Picture
    I am here to share knowledge
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2003
    Location
    India
    Posts
    83
    Rep Power
    11
    Hello,
    I got your mail yesterday.
    ok I will try to help you
    you are using same name for all the checkboxes m i right
    now
    Dim Chbox, temp

    temp=Request.Form("your check box name here")
    Chbox=split(temp, ", ")

    now Chbox is an array of the check box values, handle it as normal array handling.
    and tell me if this resolves your issue

    Regards
    Rahul
    Rahul

    Small things lead to perfection and perfection is not a small thing.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Location
    sweden
    Posts
    4
    Rep Power
    0
    Thanx a lot but i found another way to solve my problem....but thanx anyway!

IMN logo majestic logo threadwatch logo seochat tools logo