Hi,
did you add this code in Init (JS)? and instead of "cb" you can put name of elements
UPDATE: something like this:
var el = jQuery(contentbuilder._("a")).on('change', function(){
if( jQuery(this).val() =="SI" || jQuery(this).value()=="PENDING" ){
jQuery(contentbuilder._("b")).show();
}
else {
jQuery(contentbuilder._("b")).hide();
}
});
where a is name of your element (not title), and b too
or like this:
if( jQuery("#cb_500").val()!='SI' || jQuery("#cb_500").val()!='PENDING') {
jQuery("#cb_494").parent().parent().parent().hide(); }
var el = jQuery("#cb_500").on('change', function(){
if( jQuery("#cb_500").val()=='SI' || jQuery("#cb_500").val()=='PENDING') {
jQuery("#cb_494").parent().parent().parent().show(); }
else {
jQuery("#cb_494").parent().parent().parent().hide();
}
});
Regards,
Tihana