Hi all
A customer uses drupal 7 and an custom subsription form with checkbox for newsletter subsription
When we use marketing form capture we do get the true value but also the false values of all other checkboxes.
I think it is the problem for the name field wich gets the value
Error message Code Exception: An item with the same key has already been added.
I I think it is the problem for the name field wich gets the value and can be found in the checkbox code of Drupal 7:
<div class="form-item webform-component webform-component-checkboxes webform-component--enieuws">
<label class="element-invisible" for="edit-submitted-enieuws">E-nieuws </label>
<div id="edit-submitted-enieuws" class="form-checkboxes "><div class="form-item form-type-checkbox form-item-submitted-enieuws-enieuws">
<input class=" form-checkbox" type="checkbox" id="edit-submitted-enieuws-1" name="submitted[enieuws][enieuws]" value="enieuws" /> <label class="option" for="edit-submitted-enieuws-1">E-nieuws </label>
Has someone also the same problem?
Hi Mariette,
It would be helpful if you could share more details of the problem.
Regards,
Clofly
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156