# Contact Form 7

## Add AcyMailing lists on your form

When editing a form in Contact Form 7, a new button will be displayed in their editor allowing you to add AcyMailling lists.

![](/files/-MX7Nvj_3h0Wbxvfqsil)

When you use this button a window will open for you to configure the subscription.

![](/files/-MX7NzBhYH-FNAz-n61L)

* **Field type:** Should the field be a required one or not
* **Name:** Required field for Contact Form 7. It is the name of the field you can use in the form and the sent email on submit
* **Email field to use:** Which email field you have added to your form should be used when subscribing the user. Required to be able to subscribe a user to AcyMailing when submitting the form
* **Name of the field to use as user name:** Which text field you have added to your form should be used as subscriber name when subscribing the user.
* **Displayed lists:** Which list should be displayed on the form
* **Lists checked by default:** Which displayed lists should be checked by default when the form is displayed
* **Automatically subscribe to:** Lists that are not displayed but the users will be subscribed to them when submitting the form
* **Class attribute:** CSS class to add on the block containing the lists so you can customize the style of your page.

The lists are now displayed on your form.

![](/files/-MAVmhBiDj-NDLaoUZ7D)


---

# 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.acymailing.com/addons/wordpress-add-ons/contact-form-7.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.
