Project

General

Profile

Actions

Task #30851

closed

Add CSS Class to special input types in FORM

Added by Ingo Pfennigstorf over 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
Start date:
2011-10-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

With the new FORM Object all elements are nested in an ordered list.
In my case I added a hidden field. The structure is
ol
- li
- - input

(screenshot)

All li elements have a class like csc-form-2, csc-form-2

It may be not optimal to format the output properly in the frontend with li>input[:hidden] (or similar), so my suggestion is to add a class like "csc-form-2 input-hidden" to the li-element or "csc-form-2 input-textarea" depending on the following input fieldtype.


Files

Auswahl_003.jpeg (12.9 KB) Auswahl_003.jpeg Ingo Pfennigstorf, 2011-10-12 16:25
Actions

Also available in: Atom PDF