Project

General

Profile

Actions

Feature #24906

closed

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

Added by Markus Kappe about 13 years ago. Updated over 5 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 1 (0 open1 closed)

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

Actions
Actions #1

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

Actions #2

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

Actions #3

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

Actions #4

Updated by Georg Ringer over 9 years ago

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

Updated by Simon Praetorius almost 9 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.

Actions #6

Updated by Thomas Scholze almost 9 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

Actions #7

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF