Overview
Lightbox form data can be accessed via JavaScript code in custom JavaScript (boxes) as well as custom JavaScript (parent).
Custom JS (boxes)
Use this code to access the form data object:
window.PRIMER_API.form_submit_data
Use this code to access the email address input field:
window.PRIMER_API.form_submit_data.email
Parent JS (parent)
Use this code to access the form data object. The code should be inserted into the box labeled After Lightbox Submit.
api.GET_ANALYTICS().form_submit_data
Comments
0 comments
Please sign in to leave a comment.