Please find attached a patch to add a "clicked button" condition to the Forms support.
It lets you determine which button of a form was clicked.

This helps to solve the issue within the "Tutorial 9: Redirect to a page when user submit form"
http://drupal.org/node/794280

With this patch you could simply add a "NOT delete button hit" condition to the redirection rule.
And of course you could execute lots of other nice rules depending on which form button was hit.

The patch is against 6.x-1.2. Please integrate into mainstream / devel if you find it useful.

Regards

istr

Comments

Status: Needs review » Needs work

The last submitted patch, rules-6.x-1.2-clicked-button.patch, failed testing.

istr’s picture

StatusFileSize
new1.88 KB
istr’s picture

StatusFileSize
new1.88 KB
istr’s picture

Status: Needs work » Closed (fixed)