web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Form capture checkbox also captures the false input fields

(0) ShareShare
ReportReport
Posted on by 534

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>

supmitted-name.jpg

Has someone also the same problem?

I have the same question (0)
  • Suggested answer
    cloflyMao Profile Picture
    25,210 on at

    Hi Mariette,

    It would be helpful if you could share more details of the problem.

    Regards,

    Clofly

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 58 Super User 2026 Season 1

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 49

#3
Fiona_Tiernan Profile Picture

Fiona_Tiernan 22 Moderator

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans