tanmaysinghal98
10/9/2017 - 8:02 AM

HTML5 form validation pattern alphanumeric with spaces?


How about adding a space in the pattern attribute like pattern="[a-zA-Z0-9 ]+". If you want to support any kind of space try pattern="[a-zA-Z0-9\s]+"