Feature #24906

Feature Request: Configuration for maximum chars in text area (TCA - type "text")

Added by Markus Kappe almost 11 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-01-31
Due date:
% Done:

100%

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

Description

TCA for 1-line input fields:
"myfield" => Array (
"label" => 'whatever',
"config" => Array (
"type" => "input",
"size" => "6",
"max" => "6", // this works ok
)
),

TCA for multi-line input fields:
"myfield" => Array (
"label" => 'whatever',
"config" => Array (
"type" => "text",
"cols" => "30",
"rows" => "6",
"max" => "250", // this feature is missing
)
),

I would appreciate this feature, because I use small fields (150 chars) for meta descriptions tags. Since there is no check, I can enter more chars than allowed, leading to the error message "fields not properly updated". I understand this error message, but it confuses my customers.

Thank you guys for keeping up the good work on TYPO3!!!
(issue imported from #M17421)


Related issues

Related to TYPO3 Core - Bug #64888: Improve maximum length for TCA text type .rst descriptionClosed2015-02-05

Actions
#1

Updated by Gerrit Code Review almost 7 years ago

  • Status changed from New 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 http://review.typo3.org/35506

#2

Updated by Gerrit Code Review almost 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 http://review.typo3.org/35506

#3

Updated by Gerrit Code Review almost 7 years ago

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

#4

Updated by Georg Ringer almost 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#5

Updated by Simon Praetorius over 6 years ago

  • Target version deleted (0)

Could this be backported to TYPO3 6.2 LTS? It would be very helpful to limit the input in textareas in the backend.

#6

Updated by Thomas Scholze over 6 years ago

Simon Praetorius wrote:

Could this be backported to TYPO3 6.2 LTS? It would be very helpful to limit the input in textareas in the backend.

+1

Maybe this XCLASS helps as a workaround https://gist.github.com/PeaceSfiSh/a55a3c836c0600e683e0

#7

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF