Webmastersite.net
Register Log In

Voting Dropdown

Title Voting Dropdown
Message Text Currently, by default, when going to Link Details, the voting dropdown is set to one of the vote values (in my case, 5). However, I think people are clicking the vote button before selecting a vote value, or spiders/scripts/etc are automatically causing the submit button to be pressed, and thus giving that link a 5 vote. I went into my details.tpl and changed my voting so it looks like this:
<select name="votevalue">
<option selected value="">Choose Rating</option>
<option value="5">5 - Perfect</option>
<option value="4">4 - Good</option>
<option value="3">3 - Average</option>
<option value="2">2 - Mediocre</option>
<option value="1">1 - Bad</option>
</select>
Now it has "Choose Rating" as a default, and when someone clicks to vote, it won't add a vote. However, it still acts as if the person who clicked voted. My question is, is there a better way to do this? Maybe javascript so that we could get rid of the Submit button altogether, or some code/template change so that someone clicking submit on the default Choose Rating option doesn't act as if they already voted for that link? Adam
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership Synozeer
Views 484 views. Averaging 0 views per day.
Similar Topics
Submission Date Jan 18, 2006 - 11:10 PM