Project

General

Profile

Actions

Feature #80125

closed

Epic #80186: EXT:form - strong defaults and UI/ UX optimization

EXT:form - support for HTML5 input types email, tel and url

Added by Martin Kutschker over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Form Framework
Target version:
Start date:
2017-03-03
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Remote Sprint

Description

While currently a validator for emails exist, the presence of the validator does not change the type attribute of the input field to "email" (it stays "text"). Neither for telephone numbers nor URLs a validator exists.

The goals of this feature is to allow an editor to setup a form field that is rendered as input field of type "email", "tel" or "url". Possibly also as "number", but browser support should be checked if this is feasible.

Possible UI solutions:

1)

Add a dedicated element type for each HTML5 field type. The corresponding validators are automatically added to the field (either visible or invisible). The validator for "tel" will be an empty one as there is no globally defined format for telephone numbers.

2)

Add a type field to the text element. The validation is done likewise to solution 1.

3)

Make the validators change the type of the input fields.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #80127: EXT:form - support for HTML5 attributes min and maxClosedRalf Zimmermann2017-03-03

Actions
Actions

Also available in: Atom PDF