Closed (won't fix)
Project:
Webform Rules
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 May 2012 at 07:54 UTC
Updated:
31 May 2012 at 14:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
stborchertTo use webform fields as condition values you have to use a PHP condition (unless someone writes a patch that allows selecting the fields directly).
Comment #2
boby_ui commentedcan you give an example to the snippet code, I don't really understand the code.
thank you
Comment #3
stborchert* install the module Devel
* add a condition "Execute custom PHP code" to you rule and insert
In my test I have a webform with two fields ("module_list": list of checkboxes; "other_modules": textfield) that results in this output while executing the rule:

Now I could use this code to check if "views" has been selected in my webform:
Comment #4
boby_ui commentedthank you! let me test that :)