|
|
Need help with voting system
|
|
|
|
Grizzled Veteran
Join Date: Jan 2001
Location: Iowa State Univesity
Status:
Offline
|
|
The middle schoolers in my town are going to rate each other in the areas of character, citizenship, etc. and the principal of the middle school came to me wondering if there was any way for the kids to enter their ratings and have it tallied up automatically, perhaps by a spreadsheet. The catch is we want the kids to be able to vote only once and they shouldn't be able to see how others have voted. I thought there could be some way to do this online, through a javascript mailto form, but that would involve someone having to go through every email and manually tally the results.
Does anyone have any suggestions for an easier way to do this?
|
iBook G4-1.33/768 || B&W G3-450/640 || Beige G3-G4 450/352 || Beige G3-400/256 in Classic case || Beige G3-300/256 || PB 5300cs Pictureframe 100/24
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2004
Location: Manhattan
Status:
Offline
|
|
Well no, but it would probably involve more work and expense than it's worth to you. To really fix it so they could only vote once, and so no human would have to tally the votes, would be a major undertaking, involving a database, and a login. It's not worth it for a one shot deal.
|
I saw a woman with a sweatshirt that said "Guess", so I said, "Implants?"
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Jan 2001
Location: Iowa State Univesity
Status:
Offline
|
|
It would be ok if I had to tally them because i'm getting paid for it i guess. would a mailto form suffice?
I think we could rely on the honor system as far as voting goes, as long as they included their names.
I'm open to any suggestions here!
|
iBook G4-1.33/768 || B&W G3-450/640 || Beige G3-G4 450/352 || Beige G3-400/256 in Classic case || Beige G3-300/256 || PB 5300cs Pictureframe 100/24
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2004
Location: Manhattan
Status:
Offline
|
|
Well you could get around the database if you're going to tally them yourself, and a mailto: doesn't require javascript. But a javascript cookie would be one way to discourage multiple votes. I say discourage because if they know enough to delete all cookies then they'd be able to vote again.
How many catagories are there in total? You could just do a simple HTML page, if you trust them to vote once, and really make it simple.
|
I saw a woman with a sweatshirt that said "Guess", so I said, "Implants?"
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2004
Location: Manhattan
Status:
Offline
|
|
Here's an examply of a very simple mailto HTML form. You can ignore the return valid() call. That's a javascript validation function to be sure no fields are blank:
<table width="25%"><tr><td colspan="2">Please give us some information<br /><br /></td></tr>
<form method="post" name="mail" action="mailto: [email protected]?subject=custome rs" enctype="text/plain" onSubmit = "return valid();">
<tr><td>First Name:</td><td> <input type="text" name="fname" size="20"></td></tr>
<tr><td>Last Name:</td><td> <input type="text" name="lname" size="20"></td></tr>
<tr><td>Phone Number:</td><td> <input type="text" name="phone" size="20"></td></tr>
<tr><td>Email Address:</td><td> <input type="text" name="email" size="20"></td></tr>
<tr><td>Approximate Budget:</td><td>$<input type="text" name="budget"></td></tr>
<tr><td colspan="2">Please give a description of the project<br />
<textarea name="message" rows="8" cols="40"></textarea><br />
<input type="submit"
name="Submit"
value="Submit"
>
<input type="reset"
name="reset"
value="Clear Form" ></td></tr></table>
|
I saw a woman with a sweatshirt that said "Guess", so I said, "Implants?"
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Nov 2003
Location: Hebburn, UK
Status:
Offline
|
|
What would be wrong with sending Dunsels form to a PHP script which could put all the information into a small MySQL table (which would then make it trivial to stop people voting more than once - since you could ask for their name...)? You could then write another PHP page to query the table and show results etc...
|
Just who are Britain? What do they? Who is them? And why?
Formerly Black Book
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2004
Location: Manhattan
Status:
Offline
|
|
Nothing. Just seems a lot of fuss for a one shot deal.
|
I saw a woman with a sweatshirt that said "Guess", so I said, "Implants?"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|