1. Create checkbox element with value A and B. Click Here For Image
2. Create field element named asingleroom1, asingleroom2, asingleroom3 for checkbox value A hide trigger and bsingleroom1, bsingleroom2, bsingleroom3 for checkbox value B hide trigger. Click Here For Image
3. Use the JavaScript code below on checkbox element with event click and load. Click Here For Image

var div = $('tablename___checkbox');
var inputs = div.getElements('input[type=checkbox]');

for (i=0; i < inputs.length; i++) {
    if (inputs[i].checked && inputs[i].value == 'A') {
      $$('.fb_el_tablename___asingleroom1').show();
      $$('.fb_el_tablename___asingleroom2').show();
      $$('.fb_el_tablename___asingleroom3').show();
  }
    if (!inputs[i].checked && inputs[i].value == 'A') {
      $$('.fb_el_tablename___asingleroom1').hide();
      $$('.fb_el_tablename___asingleroom2').hide();
      $$('.fb_el_tablename___asingleroom3').hide();
  }
    if (inputs[i].checked && inputs[i].value == 'B') {
      $$('.fb_el_tablename___bsingleroom1').show();
      $$('.fb_el_tablename___bsingleroom2').show();
      $$('.fb_el_tablename___bsingleroom3').show();
  }
    if (!inputs[i].checked && inputs[i].value == 'B') {
      $$('.fb_el_tablename___bsingleroom1').hide();
      $$('.fb_el_tablename___bsingleroom2').hide();
      $$('.fb_el_tablename___bsingleroom3').hide();
  }
}



Options
Elements