I've got to do a simple vote or survey box for a website I'm working on. It would be a panel on the site that has a question and 3 options. A visitor would select an option and hit the vote button and would then see the results in the form of a simple graph until a new vote is put on the site.
I've been thinking that it would be a custom type with a bit in the admin to allow the site editor to enter the question and the 3 options and approve them. On the front would be a container that allows the editor to select the question. When it displays on the site for visitor it checks a simple cookie for the current vote object id - if the id is found then it display the results, if not it display the question and options. (Told you it was simple ;) ) The only bit I'm not really sure how to handle is the submission of the vote.... do I just include the form submission in the display? If I've got those vote form details - add those details details to the database and display the result? How do I handle votes and results in one custom type? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev -~----------~----~----~----~------~----~------~--~---
