Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'm working on a project that needs to use webform_rules to fire certain actions only on the final submission of a webform. The problem is that the 'insert as draft' event only works the first time the webform is submitted; the 'webform_rules_update' event currently ignores the is_draft value, which means that rules logic can't accommodate users making multiple 'Save as Draft' submissions.
The attached patch adds a 'webform_rules_update_as_draft' event to hook_rules_event_info().
Comment | File | Size | Author |
---|---|---|---|
webform_rules-add-update-as-draft-event.patch | 1.53 KB | usonian |
Comments
Comment #1
kenorb CreditAttribution: kenorb commented