Project

General

Profile

Actions

Feature #61308

closed

Allow placeholder attribute

Added by Björn Jacob over 9 years ago. Updated over 5 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 2 (0 open2 closed)

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
Actions #1

Updated by Markus Klein over 9 years ago

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

Actions #2

Updated by Björn Jacob over 9 years ago

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

Actions #3

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

Actions #4

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

Actions #5

Updated by Björn Jacob over 9 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.

Actions #6

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

Actions #7

Updated by Björn Jacob over 9 years ago

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

Actions #8

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

Actions #9

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

Actions #10

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

Actions #11

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

Actions #12

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

Actions #13

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

Actions #14

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

Actions #15

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

Actions #16

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

Actions #17

Updated by Ralf Zimmermann almost 9 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF