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,
    I’ve implemented the placeholder text and it worked, then I implemented your 2 column approach and the labels went back to the top. Any suggestion on how I can have both 2 columns and placeholder text?

    • Jenna Molby

      Hi Tommy, Yes, you would need to remove the “p” from the placeholder script so it looks like this

      “.pd-text label, .pd-select label, .pd-textarea label

  2. Hi Jenna,

    Do you know how to add a placeholder to a field but keep the label as well?

    Thanks

    • Jenna Molby

      Hi Ana, Yes, you would remove this line from the script label.parentNode.removeChild(label); and remove the CSS.

  3. Thanks for all the great tips you provide! I was wondering if there is a way to display both, label and place holder text at the same time.

    • Jenna Molby

      Hi Wade, You’re welcome! Yes, you would remove this line of code label.parentNode.removeChild(label); and then not add the CSS described in the post.

  4. Hi Jenna,

    Is it possible to disable saturday and sunday in a pardot form date field?
    Also disable certain holidays of my organization?

    Thanks

Write A Comment