Dependent fields for checkboxes and radio buttons in Salesforce Pardot forms

Dependent fields or even dependent fields are important for every successful form strategy (for more information, see our blog post about Pardot Best Practices Form). However, this functionality in Pardot is currently only available for the “Text” or “Dropdown” field types. But what if you want to use a dependent field with a checkbox or radio button?

What is a dependent field in Salesforce Pardot?

A dependent field is displayed based on a value entered in another field on the form. In this way, it is possible to display only the fields that are really relevant to the individual prospect filling out a form. A common use case for this is the drop-down field type, which allows you to display another field for the federal states, depending on the specified country, for example.

Unfortunately, due to the limitation of functionality to free text and drop-down fields, not all relevant use cases can be easily implemented in Pardot at present. We have therefore developed a script that also enables a dependent field display based on checkbox or radio button fields.

Pardot: Abhängiges Feld

This is how useful are dependent form fields with checkboxes

Let's say you offer a white paper for download using a Salesforce Pardot lead form. At the same time, your prospects have the option to sign up for your newsletter. Since you send out various newsletter formats that are tailored to the interests of your prospects, there are therefore a few checkboxes that you could integrate into the form as optional fields for this purpose. However, the primary goal of the form, the white paper download, should not disappear into the background. Here, it is a good idea to first set up a higher-level checkbox field “I would like to subscribe to the newsletter” and only play out all available newsletter formats when this checkbox is clicked. In this way, the form remains clear and short for all interested white paper users who do not want to subscribe to a newsletter — or have long been on your list of recipients. All people who would like to subscribe to the newsletter will see an overview of the available formats as soon as they have expressed their interest by clicking on the higher-level newsletter checkbox.

Pardot: Abhängige Formular-Felder
 Quelle: Screenshots aus Salesforce Pardot
Pardot: Abhängige Formular-Felder
 Quelle: Screenshot aus Salesforce Pardot
Pardot Prospect record
 Quelle: Screenshot aus Salesforce Pardot

Free script for the dependent display of checkboxes and radio buttons

The script we developed for this purpose uses the same logic that Pardot uses for the dependent display of text or drop-down fields. The script is inserted in the “Look and Feel” section of your form in the “Below Form” section. We're happy to share the script with Salesforce Pardot users, just send us a message using the contact form below.

Pardot Script
Share this article now
link
blog

Even more about Salesforce Marketing Cloud Account Engagement

salesforce-marketing-cloud-account-engagement
All Categories

More efficiency in B2B marketing and sales: Systematically develop lead qualification

This is how you overcome the challenges of lead qualification in B2B marketing. Checklist for a successful lead qualification strategy. Imagine: Your sales team works on a promising lead for weeks, only to find out at the end that the company doesn't even fit into your target customer profile.

salesforce-marketing-cloud-account-engagement
All Categories

The Editor Tragedy in Marketing Cloud Account Engagement

Find out what problems the Classic Editor poses and why the new Lightning Editor doesn't solve them - and what marketing managers can do until Salesforce helps.

salesforce-marketing-cloud-account-engagement
All Categories

Marketing Cloud Account Engagement - A clear yes to marketing cookies?

This allows you to set up your consent management in Marketing Cloud Account Engagement (formerly Pardot) in a user-friendly and GDPR-compliant manner.

salesforce-marketing-cloud-account-engagement
All Categories

Salesforce Winter '24 Release - Account Engagement Updates

The Salesforce Winter '24 release is in the starting blocks and also brings several new features and improvements for Marketing Cloud Account Engagement (formerly Pardot).

salesforce-marketing-cloud-account-engagement
All Categories

Salesforce Summer '23 Release - Account Engagement Updates

The Salesforce Summer '23 release is in the starting blocks and also brings several new features and improvements for Marketing Cloud Account Engagement (formerly Pardot).

salesforce-marketing-cloud-account-engagement
All Categories

Salesforce Spring '23 Release - Pardot Updates

The Spring'23 release is just getting started! Some exciting new features have been announced for Pardot, the most interesting of which we will briefly present.

salesforce-marketing-cloud-account-engagement
All Categories

Salesforce Winter '23 Release - Pardot Updates

The Winter'23 release is just getting started! Some exciting new features have been announced for Pardot, the most interesting of which we will briefly present.

salesforce-marketing-cloud-account-engagement
All Categories

Salesforce Summer '22 Release - Pardot Updates

The Summer '22 release is imminent! Some exciting new features have been announced for Pardot, the most interesting of which we will briefly present.

salesforce-marketing-cloud-account-engagement
All Categories

Salesforce Spring'22 release — the most interesting Pardot updates

The Spring '22 release is just getting started! Some exciting new features have been announced for Pardot, the most interesting of which we will briefly present.