Issue Task Closed

#30851Add CSS Class to special input types in FORM

Ingo Pfennigstorf 10/12/11, 16:25 updated 10/23/17, 22:20

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.

Reviews 2