genx_000
07-19-2008, 12:12 AM
Hi,
I'm trying to figure out an efficient way to accept multiple user input via checkbox input using cgi. cant figure out how?
Ex: say you have 60 checkboxes, each check box corresponds to a number, like a number picker. From the 60 ccheckboxes the user is allowed to pick only 13. When the user picks the 13 numbers the values for each of those checkboxes is passed on to the script.
You ca create 60 variables to hold all the 60 values but that is just poor programming. Can you help me figure out a better efficient way?
Thank you.
gen_x
I'm trying to figure out an efficient way to accept multiple user input via checkbox input using cgi. cant figure out how?
Ex: say you have 60 checkboxes, each check box corresponds to a number, like a number picker. From the 60 ccheckboxes the user is allowed to pick only 13. When the user picks the 13 numbers the values for each of those checkboxes is passed on to the script.
You ca create 60 variables to hold all the 60 values but that is just poor programming. Can you help me figure out a better efficient way?
Thank you.
gen_x