Posts by Felipe • 1 point
1 post
-
-2
votes1
answer71
viewsQ: Validation of <input> with javascript
I would like to do an inline validation on an input. I want that if the user type something other than 0 or 1, a message appears warning that only 0’s and 1’s are allowed. Here’s what I’ve tried:…