1955 Posts in 1234 Topics by 601 members
|Go to End|
6 January 2012 at 5:53am
Okay can anyone help. I want to setup a contact form so a member (have setup registration area) can forward and order to a company. The order needs to have a unique number and when form is filled it gets sent to both sender and receiver. After submit the user then redirects to a page with printable postage label with unique order number and member name and company address. Anyone done anything like this before using userform or custom form. Tried googling but have not found anything like what I am trying to create.
Any help would be great.
7 January 2012 at 11:00pm
Well using the User form module it writes to "SubmittedForm" that has an ID... is that good enough to use?
If not you could write some custom code in the "process" function of userforms\code\UserDefinedForm.php
If you wanted to build the form using code then put what processing you'd need in http://doc.silverstripe.org/sapphire/en/tutorials/3-forms#processing-the-form
|Go to Top|