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

quicksketch’s picture

Status: Active » Closed (won't fix)

I 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.

webwriter’s picture

If 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.

q0rban’s picture

Title: Rules Integration? » Webform Integration
Project: Webform » Rules
Version: 6.x-2.6 » 6.x-1.x-dev
Status: Closed (won't fix) » Active

I'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.

mitchell’s picture

Component: Miscellaneous » Forms Support
Category: feature » support
Status: Active » Fixed

Rules' 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.

q0rban’s picture

Category: support » feature
Status: Fixed » Active

Hmm, 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.

BenK’s picture

Subscribing...

fago’s picture

Status: Active » Closed (won't fix)

Having 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.

dreadfulcode’s picture

????

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.

stg11’s picture

I 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?

butler360’s picture

Subscribing.

Fannon’s picture

subscribing.

danny englander’s picture

Subscribing. 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

danny englander’s picture

Update, it's now a module on drupal.org
http://drupal.org/project/webform_rules