Closed (fixed)
Project:
Rules
Version:
6.x-1.x-dev
Component:
Forms Support
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 May 2010 at 09:55 UTC
Updated:
15 Jun 2010 at 09:40 UTC
i was trying to change the node create form for my custom node type. i activated the form events and created a rule to hide the preview button and change the value of the save button to "create". rules debug output says both actions get executed, but only the preview button gets hidden, the save button value is still "save".
Comments
Comment #1
DieterWeb commentedbuttons use "value" as the array index for the label, not "default_value", therefore the default value action doesnt replace the button label. i've created a custom action to deal with this. here is the code for anyone who is interested: