Update input.php

Fix : Unclosed JS in the validation rule