Feature #70923

TCA: Show proper error message if validation is failing

Added by Simon Schaufelberger over 5 years ago. Updated over 3 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

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

Actions
#2

Updated by Riccardo De Contardi over 4 years ago

  • Category set to Backend JavaScript
#3

Updated by Simon Schaufelberger about 4 years ago

  • Description updated (diff)
#4

Updated by Frank Naegler over 3 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?

#5

Updated by Simon Schaufelberger over 3 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...

#6

Updated by Frank Naegler over 3 years ago

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

#7

Updated by Gerrit Code Review over 3 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

#8

Updated by Frank Naegler over 3 years ago

  • Assignee set to Frank Naegler
#9

Updated by Gerrit Code Review over 3 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

#12

Updated by Frank Naegler over 3 years ago

  • Status changed from Under Review to Accepted
#13

Updated by Frank Naegler over 3 years ago

  • Assignee deleted (Frank Naegler)

Also available in: Atom PDF