Re: Simple Survey

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37149
interpreted = N
texte = Here's what I've done for several clients: 1. Create a database with fields for the question, 10 answers, and the votes for those 10 answers. 2. Set up a form that displays the question plus the possible answers. 3. If the visitor votes for option 3, find out what the current score is for answer 3 and add 1. 4. I also set a cookie that this point using the ID number of the question to discourage a visitor from voting multiple times. If the visitor comes back to the site after voting for the current poll, they only see the results; they're not even presented with form to vote. 5. Then I reload the poll page with View=Results or something to show the visitor what the current results are. 6. I have also created a page that displays the results of previous polls.To see a working example, visit http://www.realtree.com >Before I start hacking away at the code I thought I would take a shot. > >I am looking for some templates for a simple survey. Multiple questions with >straight forward scoring or delivery. > >Nothing fancy is needed. > >Does anyone have anything they care to share? > >Thanks >Alex-- _______________________Clint Davis Webmaster Gray Loon Marketing Group 812.422.9999cdavis@grayloon.com------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Simple Survey (Clint Davis 2001)
  2. Simple Survey (Alex McCombie 2001)
Here's what I've done for several clients: 1. Create a database with fields for the question, 10 answers, and the votes for those 10 answers. 2. Set up a form that displays the question plus the possible answers. 3. If the visitor votes for option 3, find out what the current score is for answer 3 and add 1. 4. I also set a cookie that this point using the ID number of the question to discourage a visitor from voting multiple times. If the visitor comes back to the site after voting for the current poll, they only see the results; they're not even presented with form to vote. 5. Then I reload the poll page with View=Results or something to show the visitor what the current results are. 6. I have also created a page that displays the results of previous polls.To see a working example, visit http://www.realtree.com >Before I start hacking away at the code I thought I would take a shot. > >I am looking for some templates for a simple survey. Multiple questions with >straight forward scoring or delivery. > >Nothing fancy is needed. > >Does anyone have anything they care to share? > >Thanks >Alex-- _______________________Clint Davis Webmaster Gray Loon Marketing Group 812.422.9999cdavis@grayloon.com------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Clint Davis

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Summing fields (1997) I need to get a [grep] (2003) WebDNA problems with Itools 7.3 Upgrade (2004) Webcat Manual and TeaRoom Examples Uses Different Examples. (1997) syntax question, not in online refernce (1997) Great product and great job ! (1997) Email Format (1998) Logical and or in [hideif] (1997) (1997) Stinkin' [Referrer] (1998) Help name our technology! (1997) Which GUI HTML editors work with WC ? (1997) SMTP Mail Server (2003) ics2api.dll Error Message (2000) Where's Cart Created ? (1997) problems with 2 tags (1997) and passing to a cart (1997) Bad cookie (1998) Emailer (1997) 5.0 Pricing (2003)