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.
- Open the form record used by the target button or vehicle banner.
- In
optInDisclaimer, add the intended opt-in text. - Keep the content within one document block. The block can contain paragraphs, formatting, and links.
- To use the existing translated message, enter
ContactFormDialog.consentText. - Save the form and open it from the test page.
- Confirm that the opt-in text and checkbox appear.
- 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