Property oOption.isSelected and oBallot.submit() automatically calculate the bitmask from the selected option(s).