Creative Ways to Spice Up Your Pardot Forms: Part 1


Looking for some creative ways to spice up your Pardot forms? In this post, I will show you how to implement the popular floating label technique in three easy steps. I will also show you how to turn your long drop down menus into user-friendly, searchable dropdowns.

This is part 1 of the 3 part series. Check out part 2 here.

1. Floating labels

You have probably seen this technique before. The label appears as placeholder text and when you click on the field the text moves out of the way and allows you to type. This technique can be applied to your Pardot forms in three steps.

Here’s an example of what it looks like. Click on the field to see the effect.

See the Pen Pardot form floated labels (Styled) by Jenna Molby (@jennamolby) on CodePen.

Adding this effect to your Pardot forms

Step 1: Edit your layout template

In order for this to work the labels within your forms must be placed below the fields. By default, the labels are above the form fields. To modify this, you will need to edit the layout template, click on the form tab and replace everything within the editor with the code below.

Step 2: Add the CSS

Add the CSS below to your layout template. This will create the effect of the floating labels for all form field other than radio buttons and checkboxes.

Step 3: Add the Javascript

In addition to the CSS, this method uses some Javascript. Place the code below within your layout template as well.

The result

Here’s what the floating labels look like after implementing all the code within the layout template.

See the Pen Pardot form floated labels (Simple) by Jenna Molby (@jennamolby) on CodePen.

2. Searchable dropdowns

I came across this technique when I was registering for a webinar recently. When I went to select my Country from the drop-down, I was greeted with a search feature for the drop-down. I immediately started Googling what JavaScript plugin they were using to see if I could use it on Pardot forms. It turns out, you can and not only is it super easy to implement, but it also makes long drop-down in your Pardot forms more user-friendly.


Here is what a searchable drop down looks like in action.

See the Pen Chosen.js Demo (Single Select) with Pardot Forms by Jenna Molby (@jennamolby) on CodePen.

Adding this effect to your Pardot forms

Navigate to your form and click edit form. Go to step 3: Look and Feel, click on the below form tab, click on the HTML icon and paste this code:

Update country with the name of your drop down field. Optionally, you can update the no_results_text to what ever you want to display when the no results are found for the searched term.


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

Related Posts

  • 15/10/2020
    How to Use Flex Fields in Pardot

    Flex fields are custom fields that can be used over and over again to limit the number of one-time-only fields within Pardot and Salesforce. They contain data that is required temporarily to execute a specific event or campaign. Once the data is no longer needed, the fields can be reset to blank using an Engagement Program or Automation Rule

  • 04/10/2020
    How To Embed a Pardot Form on Your Website The Right Way

    Pardot offers 2 methods for embedding forms on your website; embedding using an iframe, and form handlers. While the embedded iFrame forms allow marketers to have control over updating and configuring the forms, using an iFrame isn’t always ideal for website usability. In this tutorial, I will show you how to take advantage of the Pardot iFrame forms and make it look great embedded on your website.

  • 23/09/2020
    7 Ways Pardot Users Can Use Chrome Developer Tools For Troubleshooting & Testing

    Chrome Developer Tools is widely used by developers to help edit pages on-the-fly and diagnose issues. Pardot users can use DevTools to troubleshoot and test landing pages and forms. In this post, I’ll show you 7 ways you can use DevTools, including how to identify errors on a landing page, how to customize the CSS of a form and how to view hidden form field values.

38 comment(s)
  • George

    21/03/2019 at 3:43 am

    Hi Jenna, Love this but i'm having a bit of trouble we ReCaptcha. The box isn't showing up on the form so everytime i try to submit it fails ...

    • Jenna Molby
      to George

      21/03/2019 at 3:05 pm

      Hi George, Sorry you're having trouble with the reCaptcha. Can you send a link to your landing page to [email protected] and I can help you troubleshoot. Cheers, Jenna

  • Casey

    20/03/2019 at 1:27 pm

    Hi Jenna - thanks so much for this! I had a question - I implemented this style on a Pardot landing page that I'm practicing with: You can see at the bottom there is a checkbox field, asking if the user wants to sign up for the newsletter. But it looks like the label is still showing up below the field for that one. Anything I can do to correct this? Everything else looks perfect, my boss is really impressed : )

    • Jenna Molby
      to Casey

      20/03/2019 at 2:39 pm

      Hi Casey, Nice job! Adding this CSS should fix the issue form.form span.value { position:absolute; top:35px; left:0; margin-left:0 !important; } form.form span.value label { margin-left:5px !important; } form.form p.submit { margin-top:40px !important; } Cheers, Jenna

  • Kacia

    06/03/2019 at 4:21 pm

    I ended up pulling from your initial example and tweaking that - thanks! :)

  • Kacia

    06/03/2019 at 3:48 pm

    Hey Jenna! I am IN LOVE with this form style. I'm struggling with the button :( I don't love the grey one it is defaulting to, but when I add CSS for the button, it's pushing it far to the right outside of the form margin. :/ I'm struggling here! HA!

  • Nicky

    02/03/2019 at 8:23 am

    Thanks for this - it's great! Do the CSS and JS get pasted at the end of the layout template or at the top? My form labels are still showing underneath the text I'm entering into the fields and I'm not sure why?

    • Jenna Molby
      to Nicky

      02/03/2019 at 9:37 am

      Hi Nicky, You're welcome! I recommend putting the CSS between the HEAD tags of your layout template and the Javascript right before the closing BODY tag. Cheers, Jenna

1 2 3 5

Leave A Comment

Your email address will not be published. Required fields are marked *

About Me

Welcome to my blog, where I share, tips, tricks, thoughts and solutions that I learn in my daily life as a Marketing Operations leader.

Most Commented
Popular Posts