Restrict data input in form field
## Deliverables
I would like to have an alert added to my javascript if the user tries to input the incorrect data.<br>
In my sample code you can see it has the ability to accept all types if input and all I need added is the alert to say they have put in the wrong code. It would need to be added so as soon as the user clicks out of the input field the alert is triggered