How to prevent that form is submitted unless certain number of characters is entered inside of the field?