Prevents textbox from being sent unless checkbox is ticked