Is it possible to prevent a node from being saved with Rules? This is what I do now:
Create a rule Before saving content of type ''.
- Condition: IF ...
- TRUE => Redirect & set message
- Condition: IF ...
Create a rule After saving content of type ''.
- Calculate & set value
So when a condition is true before saving I want to redirect the user, show a message and DON'T save node.
When it's not true I want to save the node and do the actions in the after saving content of type
rule.
The problem is that when the condition is true in the first rule, the redirect and set message is performed. But directly afterwards the node is saved and the actions in the other rule are executed.
How can I make sure that the second rule doesn't get executed? Can I do this without custom code?