Feature #61308

Allow placeholder attribute

Added by Bjoern Jacob almost 7 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-09-02
Due date:
% Done:

100%

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

Description

The extension tx_form should allow using the placeholder attribute. This was at some point discussed here #32594 (but at the wrong place). I'd really love to see this happening - at least on TS base and later on in the wizzard.

Example:

lib.contactForm = FORM_INT
lib.contactForm {
  ...
  10 = TEXTLINE
  10 {
    name = name
    label.value = Name
    placeholder = Please enter your name.
  }
  ...
}

Related issues

Related to Advanced FORM object - Feature #32594: Allow HTML5 placeholder AttributeClosed2011-12-15

Actions
Related to TYPO3 Core - Feature #63391: HTML5 Placeholder Attribute for TEXTLINE and TEXTAREA ObjectsClosed2014-11-28

Actions
Related to TYPO3 Core - Feature #71112: Add placeholder attribute to TCARejected2015-10-29

Actions
#1

Updated by Markus Klein almost 7 years ago

Maybe a chance to make a contribution and implement this feature?

#2

Updated by Bjoern Jacob almost 7 years ago

Okay Markus. We check the code and try to find a good solution ;)

#3

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/32699

#4

Updated by Gerrit Code Review almost 7 years ago

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/32702

#5

Updated by Bjoern Jacob almost 7 years ago

IMHO the placeholder attribute should support stdWrap. To do something like the following.

lib.contactForm = FORM_INT
lib.contactForm {
  ...
  10 = TEXTLINE
  10 {
    name = name
    label.value.lang.es = Foo
    placeholder.value.lang.es = Bar
  }
  ...
}

I've checked the documentation and seen that the label tag is the only element which can be of type cObject. Maybe we should adapt the functionality of this element.

#6

Updated by Gerrit Code Review almost 7 years ago

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/32738

#7

Updated by Bjoern Jacob almost 7 years ago

Tested it and works like a charm. This should also be possible for FORM objects of type TEXTAREA.

#8

Updated by Gerrit Code Review over 6 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/32738

#9

Updated by Gerrit Code Review over 6 years ago

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/35217

#10

Updated by Gerrit Code Review over 6 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/32738

#11

Updated by Gerrit Code Review about 6 years ago

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

#12

Updated by Gerrit Code Review about 6 years ago

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

#13

Updated by Gerrit Code Review about 6 years ago

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

#14

Updated by Gerrit Code Review about 6 years ago

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

#15

Updated by Gerrit Code Review about 6 years ago

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

#16

Updated by Gerrit Code Review about 6 years ago

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

#17

Updated by Ralf Zimmermann about 6 years ago

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

Updated by Benni Mack almost 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF