For running J!5.1 you must https://fabrikar.com/forums/index.php?wiki/update-from-github/ or include the new file manually https://fabrikar.com/forums/index.php?threads/joomla-5-1-and-fabrik-cannot-find-files-error.54473/post-285151 See also Announcements
Please see our announcement here.
function doMyThing(el) {
// value of a checkbox will be an array
var v = el.getValue();
// check for each value you need to process for ...
if (jQuery.inArray('1', v) !== -1) {
el.form.formElements.get('yourtable___someelement').hide();
el.form.formElements.get('yourtable___somothereelement').show();
}
else if (jQuery.inArray('2', v) !== -1) {
el.form.formElements.get('yourtable___someelement').show();
el.form.formElements.get('yourtable___somothereelement').show();
}
// add more 'else if' as required
}
jQuery('#group123').hide();