Blair Wadman
Blair Wadman 3 minute read
May 16, 2020

Using Pardot's form handlers with Drupal

Pardot comes with its own forms that you can embed on your site. But if you'd rather use your own forms, then you can do this by utilising form handlers. In this article, I'm going to walk through an example of setting this up for a Drupal site using Drupal's standard contact forms.

Why use form handlers?

Pardot's form handlers enable you to use a non-Pardot form and send the data to Pardot. This is really helpful if you'd rather use your own forms. If you are using a CMS like Wordpress or Drupal, then you are likely to want to use the their forms as they are often already integrated into your site.

When you use Pardot's form handlers, you can map your forms fields to Pardot fields. And then you use the form handler URL from Pardot as the end point for your form (more on that in the example below)

Example using Drupal’s contact forms

The example I'm going to use to demonstrate this is using Drupal's built in contact forms in combination with the Drupal Pardot module.

In Pardot

Getting the form handler URL in Pardot

In Drupal

Drupal Pardot field mapping

Summary

Using Pardot's form handlers enables you to leverage your own forms and send the data to Pardot. If you are running a Drupal site, you can use the Pardot module to handle this you. With a small amount of configuration, you'll be off to the races.