I have a form with standard text elements:
<form id="f">
<input type="text" name="from" pattern="^[A-Za-z ]+$>
<input type="text" name="to" pattern="^[A-Za-z ]+$>
</form>
And I'd like to prevent users from entering disallowed characters into them. For example, typing 0
should have no effect.
How can I do this?