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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

Allowing only one form submission per session

Go to End

3 Posts   1192 Views

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


Forum Moderator, 922 Posts

12 February 2009 at 11:24pm

Here's an example:

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.


Yellow7 Jon

Community Member, 39 Posts

13 February 2009 at 10:26am

Ah! Thank you very much!!!!