Count length of one input field and print it in another with Gravity Forms and Javascript

前端 未结 1 1476
自闭症患者
自闭症患者 2021-01-27 09:42

I am using Gravity Forms for Wordpress and I am trying to figure out how to count the length of characters a user types into one of my input boxes and print that number to anoth

1条回答
  •  醉话见心
    2021-01-27 10:08

    Add an eventListener to the first input. In this case, whenever the user presses and releases a key, the length of the input will be displayed in the second input.

    0 讨论(0)
提交回复
热议问题