Fix #3: Correct behavior for checkbox and text input elements