Loading
Salesforce now sends email only from verified domains. Read More

Dependent Field Showing up on an Account Engagement Form Before Controlling Value is Selected

Publish Date: Sep 30, 2025
Description
If a dependent field is showing up on a form as soon as the form loads even before the dependent value is selected, there are a few areas that need to be checked.
Resolution

Form Field Dependency Tag is Missing

The %%form-field-dependency-css%% tag is missing from the Form tab of the layout template. The %%form-field-dependency-css%% tag is found here:

User-added image


Head Tag Missing from Layout Template

When the layout template of the form is missing the <head></head> tags (in the 'Layout' tab'), a console error will show. You'll see the error 'Uncaught ReferenceError: pardot is not defined' in the developer console, which can be accessed by right-clicking on your form and selecting "Inspect' or "Inspect Element":

Add the <head></head> back into your layout template. The best way to accomplish this is to compare this layout template to a different one that is being used on another form.

Knowledge Article Number

000382318

 
Loading
Salesforce Help | Article