Adding a Hidden Field in Eloqua

Have more questions? Submit a request

To link LeanData's routing and scheduling process to the leads or contacts created through your HubSpot form, you'll need to add a hidden field to your form using the steps below. This hidden field stores the BookIt Log ID that will later be passed to the Salesforce record via your marketing automation platform.

If you already have a custom method to accomplish this, feel free to skip this guide and use the approach that best fits your workflow.

Step 1: Create a Contact Field in Eloqua

Start by navigating to your Settings in Eloqua and creating a new Contact Field.

We recommend naming this field LD BookIt Log ID for consistency with the rest of this guide, though you may use any name that suits your internal naming conventions.

Set the following options:

  • Data Type: Text

  • Field Type: Textbox

⚠️ Important:  Be sure to make note of the field name you choose—this will be referenced in a later step.

⚠️ Note: If you are using a custom object to sync to leads or contacts in Salesforce instead of the standard Eloqua contact object, you will need to add this field to that custom object instead.

 

Step 2: Add the Hidden Field to Your Eloqua Form

Add a hidden field to your form with an HTML Name of "ldBookItLogID".
This can technically be named anything, but be sure to make note of the name you choose—it will be used in a later code configuration step.

⚠️ Important: Set the maximum length of this field to 100 characters.

Note:  If you are integrating an external form with Eloqua, you’ll need to add this hidden field through that external form provider. Make sure Eloqua is correctly receiving the value from this field.

 

Step 3: Map the Hidden Field in Your Processing Steps

In the Processing step of your form, locate the action that creates a contact (or a custom object, if you're using one instead).

Map the hidden field you added earlier to the corresponding field you created in Step 1.

⚠️ Be sure to set the Update Type to Always Update to ensure the value is written on every form submission.

 

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share