best method to go about setting up a vote on a webpage?

cmdavid

Diamond Member
May 23, 2001
4,114
0
0
basically we're setting up this concert here and we need to get some input in from the people that will be coming to the concert....
i have a list of like 40 bands but only like 12 will be coming to the concert (4 day event) and i need to set it up where i can list all 40 bands and tell each voter to vote for their favorite 6 bands or so.. what would be the best way to set this up?.. thanks in advance...
 

SherEPunjab

Diamond Member
Oct 23, 2002
3,841
0
0
why don't you write an html and asp or vbscript page? i would create a form, with radio buttons next to each band name. Then it would there would be a submit button, and have it calculate the percent of the total votes cast. Then, you can open a new window, after the submit, that will show them that info in graphical terms. for that, all you have to do is use the figures you calculated, store it into an array, and then write it on the fly with a small colored .gif square multiplied by the number of its votes. that will create a longer line if there were more votes., shorter if there were less.
 

cmdavid

Diamond Member
May 23, 2001
4,114
0
0
Originally posted by: SherEPunjab
why don't you write an html and asp or vbscript page? i would create a form, with radio buttons next to each band name. Then it would there would be a submit button, and have it calculate the percent of the total votes cast. Then, you can open a new window, after the submit, that will show them that info in graphical terms. for that, all you have to do is use the figures you calculated, store it into an array, and then write it on the fly with a small colored .gif square multiplied by the number of its votes. that will create a longer line if there were more votes., shorter if there were less.
i would if i could

:eek:
 

numark

Golden Member
Sep 17, 2002
1,005
0
0
I'd much rather go with Perl, since there's no guarantee that either your server is Windows nor that all of your viewers will be using IE. There are tons of sample Perl scripts on the web that teach how to handle voting, see if you can find some of them that fit your needs.
 

dabuddha

Lifer
Apr 10, 2000
19,579
17
81
Originally posted by: SherEPunjab
why don't you write an html and asp or vbscript page? i would create a form, with radio buttons next to each band name. Then it would there would be a submit button, and have it calculate the percent of the total votes cast. Then, you can open a new window, after the submit, that will show them that info in graphical terms. for that, all you have to do is use the figures you calculated, store it into an array, and then write it on the fly with a small colored .gif square multiplied by the number of its votes. that will create a longer line if there were more votes., shorter if there were less.

i dont think you can select 6 radio buttons at once, can you?
 

SherEPunjab

Diamond Member
Oct 23, 2002
3,841
0
0
Originally posted by: dabuddha
Originally posted by: SherEPunjab
why don't you write an html and asp or vbscript page? i would create a form, with radio buttons next to each band name. Then it would there would be a submit button, and have it calculate the percent of the total votes cast. Then, you can open a new window, after the submit, that will show them that info in graphical terms. for that, all you have to do is use the figures you calculated, store it into an array, and then write it on the fly with a small colored .gif square multiplied by the number of its votes. that will create a longer line if there were more votes., shorter if there were less.

i dont think you can select 6 radio buttons at once, can you?

sure, if they have different names.

you can also use check boxes - either way