17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1759 Views |
-
Allowing only one form submission per session

6 November 2008 at 6:22am
Hey all, I am wondering if it is possible to limit the number of times a user can submit a form.
Say a user comes to the site, fills and submits the form, goes to another page, and back to the form page, i would like the "custom submit message" to be displayed instead of the form.
any way to do this ?
-
Re: Allowing only one form submission per session

7 November 2008 at 10:47am
Hi there,
You could set a browser session variable after the user has submitted. Then, before you return your Form class, you could check the existance of the session variable.
If you'd like a bit of help with code, I could whip up a simple page type with a form and the session stuff I talked about.
Cheers,
Sean -
Re: Allowing only one form submission per session

19 November 2008 at 6:10am
This would be great to see!
look forward to seeing it. I would also like to see some sort of Captcha added to the forms and also to the comments.
Regards,
Dave -
Re: Allowing only one form submission per session

20 November 2008 at 3:16pm
Wow that will be nice to check it out..
RM
-
Re: Allowing only one form submission per session

4 December 2008 at 3:14am
Hi!
I have your same problem but my code is wrong. canyou post some code?expecially about the poin where you set session in .php and .ss
Thanks!
| 1759 Views | ||
|
Page:
1
|
Go to Top |




