Project

General

Profile

Actions

Feature #33235

closed

Placeholder for TCEForm fields text/input

Added by Tobias Liebig almost 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
-
Start date:
2012-01-16
Due date:
% Done:

100%

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

Description

We need the possibility to display a placeholder/ghosttext in TCEForm fields to guide the user about default values. The Placeholder will disappear as soon as the user enters a value.
The Placeholder should be configurable by TCA config.

Allowed syntax:

  • "Foobar" => will display "Foobar" as placeholder
  • "LLL:EXT:foobar/Resources/Private/Languages/locallang.xml" => support "LLL:" syntax
  • "__row|fieldName" => will display the value of /fieldName/ as placeholder
  • "__row|relationField|fieldName" => If "relationField" is configured as group/db, display the value of "fieldName" of the foreign record as placeholder.

http://etobi.de/screens/placholder-20120116-213633.png

This feature was part of the BLE project.


Files

placholder.png (9.81 KB) placholder.png Tobias Liebig, 2012-01-16 21:38

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #52630: PlaceHolder Feature in TCEforms only works on first relation levelClosed2013-11-132013-11-13

Actions
Actions

Also available in: Atom PDF