Skip navigation

New Form Editor - allow definition of checked/unchecked values in single checkboxes.

score 50
You have not voted. Active

Allow to specify which values should be passed in case of a tickbox. by default Eloqua is passing an "On" for ticked or "" (no value) for an unticked box.

for example

 

in the original

<label class="checkbox-label ch-container">
<input name="zzzz" type="checkbox" value="on" id="fe74329">
<span class="ch-text">text of the field </span>
<span class="checkmark"></span>

 

the following would work to make sure you specify the values.

</label>

<label class="checkbox-label ch-container">
<input name="zzzz" type="hidden" value="OPTOUT" id="fe74329">
<input name="zzzz" type="checkbox" value="OPTIN" id="fe74329">
<span class="ch-text">text of the field </span>
<span class="checkmark"></span>
</label>

 

 

UPDATE: on reflection and testing the solution

 

<input name="zzzz" type="hidden" value="OPTOUT" id="fe74329">
<input name="zzzz" type="checkbox" value="OPTIN" id="fe74329">

would give the following value in the formsubmission data "OPTOUT,OPTIN"

 

 

if you use forms for you subscription management,  a null value is not the same as a optout value. this helps distinquising what value  was passed.

this is very helpfull in in light with the GDPR

 

it is only possible if you add the HTML manually to the Landingpage editor. It defeats the purpose of the new landingpage editor to inject the HTMLs  of specific forms.

Comments

Vote history