In excel I use COUNTIF to keep record of how many times a certain option in a dropdown box are chosen. Is there a way to get the same result in adobe LC?
Thanks,
Solved! Go to Solution.
Views
Replies
Total Likes
xfa.resolveNodes('DropDown.[$.rawValue=="A"]').length;
This will return an integer where 'DropDown' is the name of all your in-scope drop downs and 'A' is the value you are looking to count.
Kyle
Views
Replies
Total Likes
xfa.resolveNodes('DropDown.[$.rawValue=="A"]').length;
This will return an integer where 'DropDown' is the name of all your in-scope drop downs and 'A' is the value you are looking to count.
Kyle
Views
Replies
Total Likes
I type in: "xfa.resolveNodes('DropDownList1[*].[$.rawValue=="1"]').length;"
It gives me the error of "syntax error token"
Thanks,
Views
Replies
Total Likes
Remove [*]
Kyle
Views
Likes
Replies
Views
Likes
Replies