<p>WebSite Poll: Yes, No, or Maybe</p> <form action="/cgi-bin/poll.cgi" method="post"> <input type="hidden" name="poll_id" value="yesorno" /> <input type="hidden" name="poll_title" value="Yes, No or Maybe" /> <input type="hidden" name="redirrect" value="http://yahoo.com" /> <input type="radio" name="vote" value="Yes" /> Yes <br /> <input type="radio" name="vote" value="No" /> No <br /> <input type="radio" name="vote" value="Maybe"> Maybe <br /> <input type="submit" value="Vote!" /> </form>
Put the following code into your website to view the results:
<a href="/cgi-bin/poll.cgi?poll_id=yesorno"> View Poll Results </a>
<!--#include virtual="/cgi-bin/poll.cgi?poll_id=yesorno&ssi=1" -->
Once you get the hang of creating and displaying polls, try changing the colors of the results by creating a CSS style sheet and changing the bar_color attribute, making an SSI based page to display the results, and also displaying links to random past polls. All of these are explained in detail in the documentation section above.