Disable checkbox when another one is activated in web interface

Hello,

I would like to create a new form with some checkboxes with a dependency. So, when I click on checkbox A, the checkbox B should be disabled and the user cannot activate it anymore unless checkbox A is deselected.

How can this be done in the webinterface of Active Roles?

Many Thanks

Michael