Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Allowing only one form submission per session


Reply


3 Posts   854 Views

Avatar
Yellow7 Jon

Community Member, 39 Posts

12 February 2009 at 10:49am

any word on this ? client keeps wondering if this is possible...

Previous thread
http://silverstripe.org/archive/show/221543

Avatar
Sean

Forum Moderator, 922 Posts

12 February 2009 at 11:24pm

Here's an example: http://pastie.org/386912

It's pretty basic, it just sets a variable in session whenever the form is submitted. The form is then hidden if that's found and set to "1" in the browser.

Let me know if you've got any questions.

Cheers,
Sean

Avatar
Yellow7 Jon

Community Member, 39 Posts

13 February 2009 at 10:26am

Ah! Thank you very much!!!!