Pardot Knowledge Base

Removing Form Autofocus

Last Updated: Dec 27, 2016 | Print this Article
Pardot Layout Templates are designed to auto-focus on the first form field in a Pardot form.  This allows for easy form completions, as the prospect's cursor is already positioned to begin filling out the form as soon as they are on the page. Occasionally your landing page may have more text preceding the form, and you do not want the page to automatically focus on the form's first input field. To remove this auto-focus, follow these steps:
  1. Navigate to the Layout Template that the form or landing page uses.
  2. Click Edit.
  3. Navigate to the Form tab.
  4. Search for %%form-javascript-first-input-focus%%, and delete it.
  5. Save the Layout Template.

More Form Styling Resources

Default Form Style Classes Reference 
Changing Form Submit Button to an Image
Advanced Form Field Option: CSS Classes

Need more? Start a conversation with other Pardot users in our Success Community