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 |