There’s currently no feature for Pardot forms that allow you to use placeholder text instead of the label text. So, in this tutorial, I will show you how to add a bit of JavaScript to your Pardot forms to use the field labels as placeholders.

Step 1: Add the JavaScript

Navigate to Marketing > Forms > Layout Templates and select the layout you want to add the placeholder text to. Paste this Javascript at the bottom of the form tab and save.


Step 2: Add the CSS

If you want to use placeholder text instead of the form field labels, you will need to add some CSS that will hide the labels on the form.

Navigate to Marketing > Forms > Layout Templates and select the layout you added the JavaScript to. Paste this CSS at the top of the form tab and save.




Questions?

Send them to me via email, send me a tweet @jennamolby, or leave a comment

Author

I'm a Freelance Marketing Operations Consultant With 15 years of experience in Marketing Operations, I’ve worked with a wide range of tools including Salesforce, Marketing Cloud Account Engagement (Pardot), Marketo, and many other sales and marketing platforms. I help teams optimize their tech stacks, improve processes, and get accurate, actionable reporting. Whether it’s setting up your Marketing Automation Platform, building Salesforce reports, managing lead lifecycles, tracking attribution, or integrating your tech stack, I ensure everything is aligned to drive real results.

67 Comments

  1. HI Jenna, thanks for the great article! In my Pardot form, the placeholder text is a smaller font size in the “text area” compared to the other form fields. I checked the form layout template and I believe all fonts were set to 16px. Have you encountered this before?

  2. Ace Balbuena Reply

    Hi Jenna,

    Added the codes to my Pardot form and the output was great, however when I am submitting the form with blank required field, the errors only shows up for 1 second and then quickly disappears. Would appreciate your help for this.

  3. Hi all,

    This script worked for me. I had a checkbox on my form and it was messing with the script. By targeting just the text, dropdown and textarea fields, I was able to solve the problem.

    • Jenna Molby

      Awesome! Thanks for sharing your solution, Shelby.

  4. Hi Jenna, I feel the same as everyone else you are a life saver. My only issue is I am seeing two required marks instead of one any ideas?
    Thanks in advance

    • Jenna Molby

      Thanks Rhonda! In your form go to “Look and Feel” and click on the “Styles” tab. Scroll down to the “Required Field Character” and update the setting to default. Cheers, Jenna

  5. Amazing! Don’t know what we’d do without you, Jenna. Finally got the labels as placeholder text. Thank you so much 🙂

Write A Comment