I need to handle three state checkbox in the following manner based on the first value:
If checkbox in a checked state then It can be only unchecked.
If checkbox in a uncheck state then it can be only checked.
if checkbox in a middle state then it can be only checked.
Can you please suggest on how this can be implemented?