17488 Posts in 4473 Topics by 1978 members
|Go to End|
18 May 2007 at 7:13pm Last edited: 18 May 2007 7:54pm
I'm a newcomer to SilverStripe, but finding it relatively easy to get to grips with (I'm a designer, so bear with me!). I'm working through the tutorials (which are very good) but on the third one relating to forms, it says I should use the ReceivedFormSubmission template. Am I right in thinking that this doesn't actually exist and i have to create it ?
Looking at the tutorial: When the user submits a form, the page will be rerendered with the ReceivedFormSubmission template. Here we define a simple template which displays a message, which can be customised in the CMS on the Ã¢â‚¬ËœOn CompleteÃ¢â‚¬â„¢ tab of the Ã¢â‚¬ËœContentÃ¢â‚¬â„¢ tab.
Is there something missing ?
20 May 2007 at 4:37pm
yes you are correct, ReceivedForm does not exist and you need to create a one. This is just basically the page template that is displayed after you have submitted the form. You dont *have* to have it (The site will work without it) but its nice if when you submit the form you have a "Thanks for doing something" message.
21 May 2007 at 5:52am
When I executed the form without the received form submission page, it sent an email but without any content. it didn't pass details into the database either. Have I missed anything ?
|Go to Top|