I am making a form and the first solution I saw was to create a keyboard with buttons with only letter numbers the delete button and the space button but now what I really wanted was a box that allowed only numbers and letter because it becomes very annoying to write with the virtual keyboard how can I do it on a web page?
Any ideas? or the virtual keyboard with buttons is the best idea?
<form>
<input type="text" required="required" name="text" pattern="[a-z\s]+$" />
</form>