Form Multiple:how to select the check boxes whose fields are empty and the opposite.

Hi,

how to select the check boxes whose fields are empty and the opposite

Any idea please

Best regards