> For the complete documentation index, see [llms.txt](https://help.brickspacelab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.brickspacelab.com/space/sections/forms/contact-form.md).

# Contact form

### Section overview

The Contact form section allows merchants to add a customizable contact form to their Shopify store, enabling customers to easily get in touch.

#### Common use cases

* Creating a dedicated contact page for customer inquiries
* Adding a contact form to product pages for product-specific questions
* Embedding a contact form in about pages to facilitate business partnerships
* Including a contact section on service pages for quote requests

#### Usage tips

* Keep the form concise with only necessary fields to improve completion rates
* Use clear labels and placeholder text to guide users
* Consider adding custom fields for categorizing inquiries (like "Subject" or "Order Number")
* Ensure form validation messages are helpful and visible
* Test the form on mobile devices to verify all fields are easily accessible and tappable

### Section settings

| Setting              | Type            | Description                                                                          |
| -------------------- | --------------- | ------------------------------------------------------------------------------------ |
| Heading              | Text            | Sets the main title displayed above the contact form                                 |
| Top spacing          | Range (0-300px) | Controls the amount of padding above the section                                     |
| Bottom spacing       | Range (0-300px) | Controls the amount of padding below the section                                     |
| Color scheme         | Select          | Determines the background color scheme of the section                                |
| Custom color         | Color picker    | Sets a custom background color (when "Custom" is selected as color scheme)           |
| Text color           | Select          | Forces light or dark text regardless of background color                             |
| Border color         | Select          | Sets the color tone for any borders in the section                                   |
| Button color         | Select          | Determines the style and color of the submit button                                  |
| Enable color fade    | Checkbox        | Enables a smooth color transition effect when scrolling                              |
| Border position      | Select          | Controls where borders appear on the section (top, bottom, both, or none)            |
| Horizontal alignment | Select          | Determines the horizontal alignment of the form (left, center, or right)             |
| Enable margin        | Checkbox        | Controls whether the section has horizontal margins                                  |
| Enable max width     | Checkbox        | Limits the maximum width of the contact form                                         |
| Visibility           | Select          | Controls which devices the section is visible on (all, mobile only, or desktop only) |

### Block settings

#### Field

The Field block allows merchants to add custom input fields to the contact form beyond the default name and email fields.

Block limit: 50

| Setting           | Type   | Description                                                                        |
| ----------------- | ------ | ---------------------------------------------------------------------------------- |
| Input label       | Text   | Sets the label text for the custom field                                           |
| Input placeholder | Text   | Sets the placeholder text displayed inside the input field                         |
| Input type        | Select | Determines the type of input field (single line, multi-line textarea, or checkbox) |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.brickspacelab.com/space/sections/forms/contact-form.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
