I have now confirmed that this problem: http://fabrikar.com/forums/index.ph...lement-javascript-contains-not-working.39915/ as posted in the Fabric 3.0.x section is also occurring under Fabrik 3.2 and J2.5
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.
var dbj_element = document.getElementById(this.baseElementId);
var hide_element = document.getElementById("fabrik_list_name___element_to_hide");
var hideElement = false;
for (var i = 0; i < dbj_element.length; i++) {
if (dbj_element.options[i].selected && dbj_element.options[i].value=="value_to_check") hideElement = true;
}
if(hideElement) {
hide_element.parentNode.parentNode.hide();
}else{
hide_element.parentNode.parentNode.show();
}
var selectedOpts = jQuery("#" + this.baseElementId ).val();
if(jQuery.inArray( "value_to_check", selectedOpts ) == -1 ){
jQuery("#fabrik_list_name___element_to_hide").closest("div.fabrikElementContainer").show();
}else{
jQuery("#fabrik_list_name___element_to_hide").closest("div.fabrikElementContainer").hide();
}
var selectedOpts = jQuery(this).val();