How to Add a Pop-Up Option to Capture Date Field Data
In this guide, we will walk through the steps to add a pop-up option to capture field data of type date.
Step 1: Create a Custom Field
- Navigate to the custom field section and click on Create Custom Field.
- In the modal, enter the custom field name in the name input box.
- Select the property type drop-down and choose Date from the options.
- Click on the Create button to finalize the custom field creation.
Step 2: Create a Pop-Up Form
- In the navigation bar, click on Forms to proceed to the form section.
- Click the Create Form button to start a new form.
- Select Pop-Up Form as the form type.
- Click the Next Basic button to continue.
- Enter the pop-up form name in the provided text field.
- Click the Next Design button at the bottom right.
- Select a template by clicking the Select Template button.
- Click the Next Content button at the bottom right.
Step 3: Modify Form Fields
- In the content section, click on Add Fields to modify the form fields.
- In the form editor, add a new field of type text input and give it a name.
- Map the text input value category to the earlier created custom field Date of Birth.
- Select Save and Continue on the right side of the screen.
Step 4: Configure Behavior and Success Settings
- In the targeting section, click Next Behavior at the bottom right.
- Click Next Behavior again to continue.
- In the behavior settings, click Next Success at the bottom right.
- In the success settings, click Create Pop-Up Form at the bottom right.
Step 5: Finalize and Test the Pop-Up
- In the content section, click Next Pop-Up Form.
- In the confirmation pop-up, click Submit to proceed.
- To test the pop-up, click on the Embed Instructions link.
- In the navigation bar, click on Hosted Pop-Up under the embed instructions tab.
- Copy the highlighted URL link provided in the hosted pop-up section.
- Enter the email and date of birth in the pop-up and review the information.
- Click the Get Code button in the pop-up.
Step 6: Verify Submission Data
- After successful pop-up submission, cross-verify the submission data.
- Select the Submission tab in the navigation bar of the pop-up.
- Review the submitted pop-up data along with the landing page from which conversion happened.
- Ensure that the date of birth data has been mapped correctly.
This is how you can leverage date custom fields in your pop-ups and forms.