Project

General

Profile

Actions

Bug #82223

closed

ext:form missing id attribute on file input

Added by Michael Kasten about 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Start date:
2017-08-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Remote Sprint

Description

If i create a form with an input type file, the input is missing the id attribute.

The label have the right for attribute, but the file input type just have the name attribute but no id attribute so the label will not have the correct reference:


<div class="form-group">
  <label class="control-label" for="punkteformular-fileupload-1">File upload</label>
  <div class="input">
    <input accept="application/pdf" name="tx_form_formframework[punkteformular][fileupload-1]" type="file">
  </div>
</div>

Actions

Also available in: Atom PDF