Advanced: Landing Pages - Add Hidden Fields
This is a technical process for advanced users.
Use this process to add information to a contact record using a hidden field on a Landing Page.
1. Add the field you want to add the information in to the Form. In the above example, the data will populate into the contact's "custom1" field.
2. To make it a hidden field, change the label to %%hidden%%
3. To set the value of the field, add your data to the "Placeholder" value in the Edit Field screen.
4. The field will show up when you are editing the Landing Page, but will be hidden on the preview and public view of the page.
Javascript runs when the Landing Page is loaded that hides the fields with the label
%%hidden%% . When the data is submitted, the hidden field values are submitted and act the same as if they were filled out by the user.
This can be used to populate any of the contact fields that are available on the Landing Page form, including any custom fields.
Notes
- This is only for The Advanced Editor Landing Pages that use the "Content Designer".
- Any text field can be a hidden field.