Forum Post: RE: Disable a group of checkboxes

  • Thread starter Thread starter Gian Torralba
  • Start date Start date
Status
Not open for further replies.
G

Gian Torralba

Guest
Hello, You need to use javascript or JQuery to achieve this. Here is a sample code using JQuery. script $(document).ready(function(){ checkIfSet(); }); function checkIfSet(){ var cb = rbf_isChecked('6th_cb'); /*name of field*/ if(cb){ $("#rbi_F_5_cb").attr("disabled","disabled"); /*name of field*/ } else{ $("#rbi_F_5_cb").removeAttr("disabled"); /*name of field*/ } } /script You also need to add the function name in the "6th_cb" field event in the object definition page. Hope this helps, Gian

Continue reading...
 
Status
Not open for further replies.
Back
Top