Project

General

Profile

Bug #11752

checkbox renders multiple input elements with same name

Added by Marc Egger 12 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Start date:
17.12.2020
Due date:
% Done:

0%

Estimated time:
Discuss:

Description

The checkbox form element intentionally renders an additional hidden input element with the same name.
This leads to issues in the frontend where input elements are selected by name. see #11750

The reason for the double input element is a workaround produced by Carsten in the PHP funciton AbstractBuildForm->buildCheckbox
It would be best if the hidden input element had a different unique name.


Related issues

Related to QFQ - Bug #11750: Checkbox does not work together correctly with required fieldsClosedMarc Egger17.12.2020

Actions

Also available in: Atom PDF