Move input length requirement to submit check