---
title: "Contact Details"
canonical_url: https://support.digitalphotogallery.com/articles/article/4d26db2c-ca49-11e7-8025-d28524ac7d86
short_url: https://dpg.support/axep
category: "Websites > Developers > Page Components > Components"
locale: en
updated_at: 2017-11-15T21:35:31Z
source: Digital Photo Gallery Support
---

# Contact Details

### Overview

The **Contact Details** component allows you to add either contact details or a contact form to a page.

### Custom Form Elements

![](https://cache.media.digitalphotogallery.com/hyqelgcvfopo/images/6df032ae-ca49-11e7-85e0-d658663aa1e7/1075_support.jpg?generated=20171115211104)

An example of a standard contact form.}

#### Creation options

{detail:9309e2e6-ca4a-11e7-a650-1e21557f5317

* **Target** This is the where the text entered by the end user will be placed in your email

![](https://cache.media.digitalphotogallery.com/hyqelgcvfopo/images/f90cfcf4-ca4a-11e7-ada9-d658663aa1e7/1076_support.jpg?generated=20171115212157)

For the target option, here is an example of where the different options would show up in an email. You can add multiple title targets and they will be combined together, the same goes for adding multiple body targets.}

> ⚠️ **Warning:** You should always add an email target which is an email field, otherwise you won't be able to contact the sender of the message.

* **Label** This is the label that appears before the field in the form (Make sure **Show labels** option is enabled).
* **Type** This is the kind of form element you wish to create.
* **Placeholder** The greyed out text that will appear in the field when there is no other information entered.
* **Required** Whether the form can be submitted without this field being filed in.

{detail:6fdc5dce-ca4c-11e7-a874-d658663aa1e7

* **Value** A default value for the field.

> 💡 **Tip:** If you want to create a value that can't be changed, for example a pre-set subject which is the same for every message then use the **Type** hidden.
