eloqua

Eloqua form has `<eloqua />` tags inside input values


Eloqua is generating forms:

http://codepen.io/EightArmsHQ/pen/6dce8530a881a3c5795e822ffefe508b?editors=1000

But the output html looks like this:

<input value="<eloqua type='emailfield' syntax='LastName' />" class="field-size-top-large"  />

I assumed that the value attribute was something that was then going to be replaced by some Eloqua JavaScript, but when I view it on the page with JavaScript, sure enough its still there:

enter image description here

How can I remove these tags? Is this a bug with Eloqua?


Solution

  • I managed to remove these. The <eloqua /> tags are inside the value field like that because they are used on Eloqua hosted pages – so for instance if the marketing team are creating a landing or targeted page inside of Eloqua, or a page that is linked to from an Eloqua email. They only work on these Eloqua pages, not in self hosted forms.

    If you are going to self host these forms (for example on your own website), here are the steps you can take to remove the tags:

    1. Click the field

    enter image description here

    1. Click on the merge settings button

    enter image description here

    1. Select None

    enter image description here

    1. Note that the yellow disappears

    enter image description here

    1. Note that there is no longer a predefined value in the field

    enter image description here