How can we help?

Cursor Focus on Email Field

Follow these steps to have the visitor's cursor automatically focus on the email field after your lightbox is launched.

Step 1

Log into Web Forms and click your name in the upper right-hand corner. Then select Custom Javascript (Boxes) from the drop-down menu.

custom-js-boxes.png

Step 2

On the next page, click the Add New Custom Javascript Snippet button.

new-js-snippet.png

Set the event trigger for your new snippet of javascript to After Display.

Step 3

Paste this javascript code into the box. 

form_input_email.focus()

Comments

0 comments

Please sign in to leave a comment.