And I want a pony... but I have to work for the horse feed. Show the code you have used to try to do these size checks when a button is clicked.
BTW, your requirements are now:
- Maximum of 10 characters (from first post)
- More than 4 characters (from second post)
- But not 5 characters ??? (from first post)
Also consider that another solution may be to stop the user from clicking the button unless their input is already valid.
Bookmarks