I have a checkbox and the goal is to limit the maximum input value of a textbox when the checkbox is ticked.
I have two solutions in mind , one is to alter the value of t