Author |
Topic |
|
Web_Geek
Starting Member
7 Posts |
Posted - 15 January 2003 : 18:09:24
|
Hello,
I want to be able to allow users to select more than one poll choice. IE:
Which widget(s) do you like best?
widget 1 widget 2 widget 3
I would like to allow users to select widget1, widget2, widget3 or any combination of these, if they are so inclined, they could even select all three.
I attempted to edit the form to have checkboxes instead of radio buttons, but that didnt work. It didnt count the votes when I hit submit, it simply showed me the poll results, which were 0 votes cast.
How could I go about doing this? |
|
Web_Geek
Starting Member
7 Posts |
Posted - 15 January 2003 : 18:18:44
|
when you have checkboxes with the same name, and there is multiple selections, doesnt it turn it into an array? |
|
|
Web_Geek
Starting Member
7 Posts |
Posted - 15 January 2003 : 18:49:32
|
ahh!
I changed the form type from radio to check box, and added this code:
arrVotes=split(request.form("R1"),",") for each intVote in arrVotes THE CODE TO UPDATE DB HERE
Next |
Edited by - Web_Geek on 15 January 2003 19:23:16 |
|
|
|
Topic |
|
|
|