Disable input after form submission.