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.

Form Questions /

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

Contact Form unique number and redirection after submit

Go to End

2 Posts   1289 Views


Community Member, 63 Posts

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.


Forum Moderator, 1899 Posts

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