Creating Lead Forms in Oracle Eloqua
Brightcove Campaign provides the ability to create lead forms which allow you to capture viewer information during video playback. Forms give you the ability to include whatever fields you need (visible or hidden) and also give you the ability to take advantage of features like progressive profiling (if available). The lead data is sent to, and processed by, Eloqua.
Creating a form in Eloqua
Eloqua provides the ability to create forms that can be used to capture viewer information. The form HTML that is generated will be used when creating a lead form inside Brightcove Campaign. The data that is captured can then be used in customizing future communications. The steps below will create a simple form to capture first name, last name and email address. For complete details on Eloqua Forms, see the Eloqua documentation.
- Sign in to your Eloqua account.
- Navigate to Assets > Forms and then click Create a Form. The form Template Chooser opens.
- Click Blank Form and then click Choose.
- In the left navigation, expand the Field Groups panel.
- In the Field Groups panel, click Basic Contact Info and drag it to the form template.
- Confirm that the fields have been added to the form.
- By default, the fields are added using a field merge. This will cause strange text to appear in the fields when used in Brightcove Campaign. To remove the field merge, select the First Name field by clicking on it.
- In the left navigation panel, locate the General Properties section and set the Prepopulate field data property to None.
- Repeat the process for the Last Name and Email Address fields.
- Click Save.
- Give the form a name and then click Save.
Copying the form HTML
To use the form inside of Brightcove Campaign, you will need to copy the form HTML. Follow these steps to copy the form HTML.
- Click Actions > View Form HTML... The form HTML will be displayed.
- Copy the entire HTML to the clipboard. Click Close.
- Paste the form HTML into your HTML editor of choice. You may want to use the code formatting feature of your editor to format the code so that it is easier to read.
Styling the form
By default, when the lead form is displayed, the form will display on a transparent background over the player. You will want to do some basic styling to the form using CSS. The sections below provide two examples of how the form can be styled. The associated CSS is also provided. You may need to adapt the CSS to conform to your standard colors or to handle styling of additional fields.
Simple form styling example
This example uses CSS to change the background color of the form to grey and the form will appear as follows:

For this styling, add the following CSS to the top of the form HTML style
tag.
body { background-color: rgba(204,204,204,0.9); margin: 0; padding: 20px; height: 100%; }
Creating a Brightcove Campaign lead form
Once the form has been created and styled, the form HTML will be used inside Brightcove Campaign when creating a lead form. For information on creating a lead form, see Creating Lead Forms.
Validating the form data in Eloqua
There are several ways to validate that the form data has been passed to Eloqua. Follow these steps to view the form data in Eloqua.
- Sign in to your Eloqua account.
- Navigate to Assets > Forms.
- In the left navigation, click the All Files link to display all the forms.
- Double-click the form name to open it.
- Click Actions > View Submission Data... The form data will be displayed.