I am putting an opinion poll on a site which I am hoping to set up as a form since the results will not be published immediately. Is there any way to ensure that the form will only be able to be submitted once (possibly using cookies?).
I'd be very grateaful for any sugestions.
07-10-2003, 11:31 AM
Yea you can create a cookie to store weather the form has already been submited. Of course anyone can delete cookies so if they do then they can do the poll again
I would not have a submit button rather a normal button calling a js function.
You would then have to check to see if theres a cookie to detainmie weather ot not to show the form or not.
You say say that you dont know asp or php etc.... but you will need some serverside language to store you results.
07-10-2003, 03:18 PM
My plan is to process the form with form mail and sort the results manually for now as I expect the volume to be low enough. If the response is better than expected, I will be able to justify a mail package such as Multicity.com's one which seems quite good.
Thanks for the code. I am going to look at the cookies option some more and will hopefully solve it.