How do I associate a form with a Salesforce campaign?

Applies to:

In order for a Salesforce campaign to be associated with a HubSpot form, the campaign must first be marked as active in Salesforce. Follow the steps below to select an active Salesforce campaign to associate with a HubSpot form:

Please note: this feature is only applicable to Salesforce-integrated portals.

When using a form to set a Salesforce campaign, the campaign status will be set to Responded by default and will not be editable. If you'd like to be able to edit a contact's campaign status after originally setting it, you must use a workflow rather than a form to associate your contacts with your Salesforce campaign.

Additionally, it is not possible to remove a contact's association with a Salesforce campaign if the campaign was originally set using a form.