Is it possible to configure a required field to ignore white space?
Use the pattern attribute combined with the required attribute. And be sure to include a title attribute as well, since most browsers insert the title text into the validation pop-up bubble. <input required pattern=”.*\S+.*” title=”This field is required”> The .*\S+.* pattern requires at least one non-whitespace character, but also allows whitespace characters (spaces, tabs, carriage … Read more