Closed (won't fix)
Project:
Rules
Version:
6.x-1.x-dev
Component:
Forms Support
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 May 2009 at 20:32 UTC
Updated:
26 Nov 2010 at 16:24 UTC
I use Webform to collect requests from patrons. When that request is eventually filled/not filled, I would like to send a confirmation when the field is updated.
Rules can do this for regular CCK fields, but not Webform components as far as I can tell. Is there any way to set up a component with conditional rules like this?
Comments
Comment #1
quicksketchI dislike the concept of Rules module and I will not accept any patches to add this functionality. It will need to be a separate project outside of Webform.
Comment #2
webwriter commentedIf Rules is out of the question, is there any other option for sending an email when a field is updated on a Webform? I just need the functionality... not really into the politics of module development.
Comment #3
q0rban commentedI'm moving this to the Rules module to see if the maintainer would be open to adding WebForm-Rules integration there. I may work on the patch for this if so.
Comment #4
mitchell commentedRules' forms support allows rules to integrate with any form. It has a 'form is submitted' event, so that may help with the confirmation email. Checking if a form element is updated may be a bit harder to setup. IIRC, Rules forms is geared more for manipulating forms than checking them, but there is one condition 'form element has value.' Perhaps you could use that condition by supplying the original value and the negate option. If you want to use the 'field has changed' condition, you could switch your request collection form to cck, or similar functionality could definitely be added for webforms. I hope this info fixes your issue, but if not then feature request away.
Comment #5
q0rban commentedHmm, I'll have to play around with this to see, but I'm thinking of a more complete integration where you can actually send emails that contain specific field, redirect to pages based on WebForm values, check to see if a user has submitted a specific WebForm, etc. etc.
Comment #6
BenK commentedSubscribing...
Comment #7
fagoHaving separate webform integration makes for sure sense, however rules only ships integration for core modules. If maintainers are not willing to ship with rules integration, it has to go into a separate project.
Comment #8
dreadfulcode commented????
What's not to like about rules? It has worked miracles for many of my projects.
A lot of helpful module incorporate it, too Creating events based on user actions from the front end, via Rules, opens many doors to developers not so savvy with php. And a tremendous time saver for those dev's well versed with php.
Quick, you have done a lot for this community, but I am shocked and severely disappointed that you fail to see the benefits of Rules. It has been a boon to the Drupal community, including me.
Comment #9
stg11 commentedI agree with #8 and this would be a very useful feature. There are many business scenarios where forms need rules to make the business process smooth. Is there any work being done on a separate module? Or are we dead in the water with this?
Comment #10
butler360 commentedSubscribing.
Comment #11
Fannon commentedsubscribing.
Comment #12
danny englanderSubscribing. I just found this but have not tested so can't vouch if it works or not.
http://www.undpaul.de/blog/2010/11/26/integrate-rules-webform
Comment #13
danny englanderUpdate, it's now a module on drupal.org
http://drupal.org/project/webform_rules