The Form

If you type into the idea field of this form, you'll see the count of how many characters you have typed. You can see the code on how to make this happen below. Also, it's good to note the id of the submit button, the text field, the text element showing the number of characters, and the div that wraps it.

0
Thanks for the amazing idea, NAME! We'll be in touch soon!
Oops! Something went wrong while submitting the form.

The Code

The code to show how many characters are remaining in an input:

Pass the name field value to the success state: