In fabrik 3.0 I used the following javascript to count the number of selected checkboxes:
Does anyoe know how to do this in Fabrik 3.1? I think the problem is with _getSubElements, but I don't know what to replace it with?
Thanks in advance,
Paul Hughes
Code:
var numChecked = this._getSubElements().filter(function (c) {return c.value !== '0' ? c.checked : false}).length;
Does anyoe know how to do this in Fabrik 3.1? I think the problem is with _getSubElements, but I don't know what to replace it with?
Thanks in advance,
Paul Hughes