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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 131 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 46 Most Valuable Professional

#3
NeerajPawar Profile Picture

NeerajPawar 41

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans