Skip to Content
How-to guidesFormsSet a form's opt-in text

Set a form’s opt-in text

Audience: CMS editors.

Use this guide for an existing CMS form configuration. Use a test page to inspect the result without sending a real enquiry.

  1. Open the form record used by the target button or vehicle banner.
  2. In optInDisclaimer, add the intended opt-in text.
  3. Keep the content within one document block. The block can contain paragraphs, formatting, and links.
  4. To use the existing translated message, enter ContactFormDialog.consentText.
  5. Save the form and open it from the test page.
  6. Confirm that the opt-in text and checkbox appear.
  7. Without submitting an enquiry, confirm that the form requires the displayed consent.

Text with no matching translation key appears as entered. There is no default opt-in message.

To remove the checkbox, clear optInDisclaimer and save the form. An empty or whitespace-only value removes the checkbox and its client/API consent requirement.

The DynamicForm reference defines the complete behavior.

Last updated on