Active
Project:
Rules Forms Support
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Jan 2014 at 18:25 UTC
Updated:
4 May 2018 at 13:13 UTC
Jump to comment: Most recent
Comments
Comment #1
kenorb commentedThese fields are there, but are not available during that time ($this->availableVariables). See: Rules Workflow: Data selector is invalid
Not sure how we can fix it. Either these parameters shouldn't show, or we should make them available somehow.
Comment #2
kenorb commentedComment #3
kenorb commentedComment #4
caminadaf commented@kenorb, I don't think that we can really control which selectors are available on $this->availableVariables because it is inherited from the rules event. I've recently commited a "Form element is empty" condition on 7.x-1.x, and this should be used for form elements instead of "Data comparison".
@yorguey31 to do what you described there is also the "Form button was clicked" condition, which will check which button was submitted on the form. Please try using that one instead.
Thus, I think that maybe this is more of a documentation problem than actually a bug. The documentation should explicitly say that the form elements can only be used with Rules Forms conditions and actions, since they depend on our processing. (at least for now on 7.x-1.x)