Active
Project:
Webform Rules
Version:
7.x-1.6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2016 at 21:30 UTC
Updated:
29 Mar 2016 at 22:51 UTC
Jump to comment: Most recent
I have a field in my webform. When the field ('test') is NOT in a fieldset my statement below works perfectly:
if ($data['components']['test']['value'][0]=='0') { return TRUE; } else { return FALSE; }
When I add my field to a fieldset ('promoter_id'), the statement above no longer works and I'm not sure how to change it to make it work. I would greatly appreciate any help with this issue.
Comments
Comment #2
tsmulugeta commentedIt seems to be working now. I'm not sure what fixed it. It might have been a misspelling. But whether or not a field is a fieldset, it is printed the same.
In order to debug, I found a great way: