Project

General

Profile

Actions

Feature #70923

open

TCA: Show proper error message if validation is failing

Added by Simon Schaufelberger about 9 years ago. Updated almost 7 years ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2015-10-21
Due date:
% Done:

0%

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

Description

in TCA you can define validation rules for example the range. More here:

In case of an error, don't just frame the field with a red border but also say, what is the error.


Files

required-and-counter.png (13.6 KB) required-and-counter.png Christian Kuhn, 2017-11-27 20:06
required-and-group-placement.png (14.2 KB) required-and-group-placement.png Christian Kuhn, 2017-11-27 20:07

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #70916: Flexform input range slider validation problemClosed2015-10-21

Actions
Actions #2

Updated by Riccardo De Contardi almost 8 years ago

  • Category set to Backend JavaScript
Actions #3

Updated by Simon Schaufelberger over 7 years ago

  • Description updated (diff)
Actions #4

Updated by Frank Nägler about 7 years ago

  • Status changed from New to Needs Feedback

We have the information icon in the upper right corner, which show more information about the validation results.
I think this is enough and this issue could be closed, do you agree?

Actions #5

Updated by Simon Schaufelberger about 7 years ago

The thing is, you know that something is wrong but you don't know what exactly. It the same like an error message: "An error has occurred" which is not helpful at all...

Actions #6

Updated by Frank Nägler about 7 years ago

thanks, I know what you mean. I will think about it, maybe we found a solution

Actions #7

Updated by Gerrit Code Review about 7 years ago

  • Status changed from Needs Feedback to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54509

Actions #8

Updated by Frank Nägler about 7 years ago

  • Assignee set to Frank Nägler
Actions #9

Updated by Gerrit Code Review about 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54509

Actions #12

Updated by Frank Nägler almost 7 years ago

  • Status changed from Under Review to Accepted
Actions #13

Updated by Frank Nägler almost 7 years ago

  • Assignee deleted (Frank Nägler)
Actions

Also available in: Atom PDF