Use the email field to specify an email address for a Collection item.
The email field is a Collection field that lets you specify an email address for a Collection item. The email addresses specified in this field can be displayed in Collection List or a Collection Page as text. And just like a link field, an email field can be used as a link so visitors can send an email with a click or a tap. You can also use the email field to filter a collection list or set conditional visibility on elements in collection lists and pages.
Common uses
- Email address of a team member, customer service, departments, etc.
- Link to these email addresses on the website
Creating an email field
An Email field can be added to a new or existing Collection. In Collection settings, click New Field and then choose the Email field.
Adding content to an email field
You can type in any valid email address in this field.
Pro Tip
Connecting email fields to text
You can connect an email to any text element in a Collection list or a Collection page:
- Add a text element in your collection list or page
- Check the Get text from checkbox in the Inner Text Settings that appears
- Select the email field from the field dropdown
You can also access the inner Text Settings by selecting the text element and either clicking on the settings icon next to the element label on the canvas or by going to the Settings panel (D).
Connecting email fields to email links
You can also connect an email to any link element, including a button. This link will trigger an Email using the Email address for the corresponding collection item. To create a dynamic email link:
- Add a link element in your collection list or page
- Choose Email in the Link Settings that appears
- Select Get email from
- Select the email field from the field dropdown
You can also access the Link Settings by selecting the link element and either clicking on the settings icon next to the element label on the canvas or by going to the Settings panel (D).
You can remove any of these connections by unchecking the option checkbox.
Need to know
NoteWhen a link is connected to the dynamic email field, any email address in the email field in the link settings will be overwritten by the dynamic email address specified for collection items.
Filtering a Collection list using the email field
You can filter a Collection list using the email field by specifying either of the following rules: Equals, Does not equal, Is set, Is not set.
- Select the Collection list you want to filter
- Go to the Settings panel (D)
- Add a Filter under Collection List Settings
- Select your email field in the first dropdown
- Choose a rule in the second field
- Set a value if the option is available
- Click Save
The filter rules that you can use with the email field and values are:
-
Equals - looks for Collection items with an email address equal to the value you specify for this rule
-
Does Not Equal - looks for Collection items with an email address that isn’t equal to the value you specify for this rule
-
Is Set - looks for Collection items that have an email address set for this email field
-
Is Not Set - looks for Collection items that don’t have an email address set for this email field
Learn more about filters
Setting conditional visibility using the email field
You can set a conditional visibility rule on an email button in your Collection list or page. This can ensure that this button will be visible only when an email address is set in the email field for that Collection item.
- Select the email button that is connected to the email field
- Go to the Settings panel (D)
- Add a Condition (when this element is visible) under Conditional visibility
- Select your email field in the first dropdown
- Choose Is set in the second dropdown
- Click Save
Learn more about conditional visibility.