Skip to content
Advertisement

How to autosubmit a form in JS when a field reaches a number of characters? [closed]

What better way to make a form having a autosubmit when a field is completely filled? I need him to do it when it reaches 7 characters in the field.

Advertisement

Answer

JavaScript

would probably do the trick. However, what if the user makes a mistake on the 7th character? It seems a bit user-unfriendly to automatically submit the form like this.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement