# GDPR Consent / Terms agreement

A basic "Accept terms of service" demo form is available via the menu **Super Forms > Demos**. The demo form is named "Accept Terms of Service".&#x20;

<div align="left"><figure><img src="/files/ENaX6f94FjxPiAZr1eAe" alt="Accept terms of service demo form for WordPress"><figcaption><p>Accept terms of service demo form for WordPress</p></figcaption></figure></div>

This demo form consists of a simple [Checkbox element](/developers/code-examples/change-checkbox-radio-layout-to-vertical-on-mobile-devices.md) with only one option. The field is set to be required so that the user must agree to the terms in order to submit the form. This will work for any consent that you require from your user such as GDPR consent or privacy policy consent.

Another option that you might require is to still allow the form to be submitted even without the users consent. But in this case you do not wish to store the form data on the server. In these cases you will require to configure the form so that it only stores the contact entry whenever the user checked the box.

To do this edit your form and open the "Form Settings" panel. Now choose "Form settings" from the dropdown. From here enable the "Conditionally save Contact Entry based on user data". If you have a checkbox named `gdpr` and the value of the checkbox is `true` you can define the condition as shown in the image below. Now whenever the user gave their consent the contact entry will be created and stored on the server. Otherwise no contact entry will be created, but the form will still be submitted.

{% hint style="warning" %}
**Note:** if you are sending emails for the form, that they will still be send, they will not be disabled unless you disabled them in the settings. They currently do not have the option to be conditionally send. If you require such a future please [submit a ticket](/support.md).
{% endhint %}

<div align="left"><figure><img src="/files/Nzwuvmi4zKGg9Qo3gfUh" alt="Only save form submission data as entry when GDPR consent was given by the user on WordPress form"><figcaption><p>Only save form submission data as entry when GDPR consent was given by the user on WordPress form</p></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.super-forms.com/tutorials/gdpr-consent-terms-agreement.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
