Using the Contact Form module's custom fields, you can create a custom field that displays a Consent and Agreement field.
The visitor must check this field before sending the Contact Form, giving their consent, and agreeing to the website's Terms of Use guidelines.
Open the Contact Form module's settings
Click on the Plus icon to add a new Field
Type in the field's Title
Expand the Field Options Group
Choose Checkboxes in the Type dropdown
In the Options field, write your text with the link to the website's policies
Ensure that the Required Field option is enabled
Pro Tip: If you don't want to show the field title, in the Field's settings, go to Advanced Tab โ Custom CSS โ Free Form CSS and add this CSS snippet:
selector .et_pb_contact_field_options_title {
display: none;
}
Check the GIF below to see the entire process.