Orchard 1.7 Custom Forms and Workflows

Topics: Customizing Orchard, Troubleshooting
Aug 23, 2013 at 10:56 AM
I have a clean installation of Orchard 1.7 running for a newly designed site. I have some custom forms setup that are being displayed on content pages using widgets. In Orchard 1.6.1, using rules I was able to successfully email the completed form data to a specified email address(addresses).

How do I go about doing that in Orchard 1.7. I do not see an option in workflows for "Custom Form Submission." I can get email notifications going to email addresses, but none of the form data is included. What am I missing? Any help is much appreciated.
Aug 23, 2013 at 6:34 PM
Noticed that as well when my email notifications didn't contain any form data, even though I used the token selector... I think it's a bug that will be fixed in 1.7.1: https://orchard.codeplex.com/workitem/20025
Sep 15, 2013 at 4:41 PM
Did either of you guys get any further with this? I'm having the exact same problem...
Sep 17, 2013 at 6:08 PM
Try 1.7.1. It's now available.
Sep 18, 2013 at 3:17 PM
Edited Sep 18, 2013 at 3:55 PM
Thanks for the heads up Bertrand. If anyone's interested, the workflow you need to resolve this question is as follows:
  1. Upgrade to v1.7.1
  2. Create a new workflow.
  3. Drag a 'Form Submitted' object to the canvas, set it to your custom form & switch it 'on'.
  4. Add an 'Send Email' object & configure it with your form fields.
  5. BOOM! Sit back and wait for your email.
Hope that helps someone.
Sep 18, 2013 at 3:40 PM
In 1.7.1? What does "BOOM!" mean?
Sep 18, 2013 at 3:59 PM
BertrandLeRoy wrote:
In 1.7.1? What does "BOOM!" mean?
As in 'awesome, I've got an email with all my form fields in'. : )
Sep 18, 2013 at 4:00 PM
Ah, great. I wasn't sure if you meant it was crashing somehow. Thanks :)
Sep 23, 2014 at 12:07 PM
I'm on Orchard v. and I have the same problem.
Sep 23, 2014 at 12:41 PM
Are you doing an upgrade or a new 1.8.1 install?
If it's a fresh install then follow my steps from the post above and you should be done.
Sep 23, 2014 at 6:27 PM
Edited Sep 23, 2014 at 6:36 PM
There is no FORM SUBMISSION option in 1.8.1
Sep 23, 2014 at 6:52 PM
100222 wrote:
There is no FORM SUBMISSION option in 1.8.1
Yes, there is - I'm on 1.8.1 and use it all the time.
Have you enabled the custom forms module? It might be that you don't have that option until it is enabled.
Sep 23, 2014 at 7:24 PM
Edited Sep 23, 2014 at 7:44 PM
thanks, but yes it is enabled - no form submission. I am nonplussed on this one! no wonder I couldnt get the email to send ! - anyone got any documentation on this ?
Sep 24, 2014 at 9:24 AM
I have started again - fresh site - no joy at all here - can anyone offer a solution
Sep 25, 2014 at 4:59 AM
Edited Sep 25, 2014 at 5:04 AM
I just installed a fresh 1.8.1 site, and:
  1. Enabled the Custom Forms feature;
  2. Created a content type called "Contact Form Submission";
  3. Created a custom form called "Contact Form";
  4. Created a workflow called "Contact Form Submitted";
And behold: there is the "Form Submitted" activity you need: