Hello, great module, and just what I need for my task (I think :)

I've 2 forms, each with a unique button field. I am having trouble setting triggered rules for each of the buttons. I can set a general rule that effects "a button", but I can't pick a button out with a tokenized field ID.

When I visit the the conditions for the rule the ON event "Button is" doesn't list a token replacement for my button field. Is this because this isn't the place to configure the button ID, or am I missing something? I see a list of token fields, but no button fields are listed. I can guess what it is, and tried that, too, but no luck. ([node:field_button])

Each button is on a separate content type and has a unique field name.

I understand that the button is sending the field ID along with the node (id/#) to rules for identification purposes. Originally I intended to use one button on each form, with separate rules for each. I created the two so I would have a unique field name for each.

Is there somewhere else to define "I want this button, when displayed on this page."

Thanks for your help and clarification on this!

Comments

discursives’s picture

When I only had one button field all I had to do was create a rule for the button and it worked.

Now that there are two button fields I can't make either one do anything.

BassistJimmyJam’s picture

Component: Code » User interface
Assigned: Unassigned » BassistJimmyJam
Category: bug » support

The "Button Is" evaluation doesn't use tokens, it just accepts the CCK name of the Field. In your example, that would be "field_button". That should solve your issue.

BassistJimmyJam’s picture

Status: Active » Closed (fixed)

No response after almost a year, closing.