How to add custom fields to your Privy forms.
How to Customize Display Form Fields
To customize a display’s form, click into your campaign and then select “Form” from the workflow menu. Hover over the “Form Fields” box and a link that says “Click to Edit” will appear with a pencil icon. Clicking that link will open additional options for customization.
The Email Field
The email field is always required to be one of the form’s field. If you wish to create a campaign that does not have a form, you can disable that here. You can also edit the preview text that appears in the email field. The default text is simply “Email” but you change that to read “Please Enter Your Email” or type in any other text you wish to use.
Customer Attributes: Name, Opt-in, and Birthday Fields
All Privy customers also have the ability to add additional form fields beyond just the email field. Click the “Add Field” dropdown to see your options for additional fields. Every Privy customer, including free users, have the ability to add a Name, Opt-in, and Birthday to any of their forms.
With the name field, you can ask for the user's full name, their first name only, or their last name only. You can also decide whether I want this field to be required or not. If you uncheck the “Required” box, that means that the user can complete the form without filling out the name label. If you want the user to fill out that field in order to submit the form, then keep that box checked.
All Privy customers have the ability to add an opt-in checkbox to any form. If I want to prompt my users to explicitly opt-in to receive my emails, I can make this opt-in a required condition of filling out the form. You can edit your field labels here as well, so you can change the language that appears to your website visitors.
Lastly, asking users for their birthday allows you to send them special communications or offers on their special day.
Ordering and Deleting Fields
To change the order of your fields, just drag and drop them to reorder. To remove any fields, just select this trash can icon and click.
Custom Fields: Text, Date, and Selection Options
Customers on our Plus Plan and above have access to additional types of custom fields.
For example, if you select Text, you can ask users to fill in information such as their phone number or address.
With the Date field, you can ask users to fill in a preferred or projected date, such as a wedding date or baby’s due date.
Additionally, you'll have the ability to ask users about their preferences. The Select, Checkbox, and Multiple Choice options are similar variations on a common theme. The differences are about the style of list--drop down list, checkbox, or radial buttons.
These fields allow you to collect information about your customers’ preferences. For example, you could ask your customers about their color preferences. You can add in as many different options as you need. You can also choose whether to select one option by default.
Now, one thing to note is that all of the information on the left side of the form field (the Field labels and the Option labels) are what your visitors will see. The information on the right is the data that gets synced to your email service provider or other database. You may want this information to be exactly the same in both cases. But some customers want the flexibility to choose labels that might differ internally from the customer-facing options.
Email Sync: Email List Subscription
If you're on our Commerce Plan or higher, you have some additional options available to you. You have the ability to add an Email Subscription Selection to your form. What that means is that if you have synced your Privy account with your email service provider, you can display different email lists that the user can opt into right from the form.
For example, maybe you have a few different types of email lists such as new product announcements or sales. Or perhaps you send different emails to customers who are interested in different categories of products. You can allow that user to join different lists right from this form. Similar to the custom fields, the email sync fields again are very similar in function, but they just defer in style choice: drop-down, checkbox, or radial button.
If you are on our Growth Plan, you have access to hidden fields. Hidden fields allow you to collect additional information about your contacts invisibly. Learn more about hidden fields.
IMPORTANT: If you are using an email service provider outside of Privy, it is important to map Privy’s custom fields to your database. That ensures that all the data you are collecting in your form and associating with your contacts appears in your database in the right spot. Make sure you map these fields before you launch your Privy campaign.