Form Field Input Interaction Trigger

Hi all,

Looking for a way to trigger an animation on an element when a form field has input.

I want to do something similar to the Webflow home page form:

Is there a standard way of doing this in Webflow, or will it require custom code? I know there is a mouse click trigger but that won’t do the trick…


1 Like

When you only start typing? Only with custom code.

can u provide an example? when u start typing

Sure, here’s how you detect keypress event using JavaScript.

1 Like