I've created some rules to send notifications when changes some fields and it works as I expected when the user click on Save button.

After I enabled Save & Edit module but I receive notifications both if I click on Save and Save & Edit .

I want receive a notifications only when click on Save .

Is possible? Or is there another approach to achieve the same result?

Thank you in advance.

  • Do you have experience writing modules? This seems like something you can do by executing php code in the rule.
    – rrirower
    Feb 24, 2016 at 20:05
  • Can you suggest me where I look for this?
    – kb8
    Feb 24, 2016 at 21:52

2 Answers 2


Just a simple concept: I could imagine using the Rules Forms module with the following Form API conditions:

  • Form ID: form_id == YOUR_CONTENT_TYPE_node_form
  • Clicked button: $form_state['clicked_button']['#id'] !== 'edit-save-edit'

Or is there another approach to achieve the same result?

Another approach would be to add a field named "notify me" and of type Boolean

Then in rules Add Condition >> Data Comparison >> node:field-notify-me >> True

So you will receive e-mail only when the notify me is checked.

  • Thank you for reply but I don't want that the user choose if send me a notification. The notification must be generated only when Save.
    – kb8
    Feb 24, 2016 at 10:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.