Issue Bug Closed

#38736Cleanup TCEform FlexForm section HTML and JS code

Benni Mack 07/07/12, 21:25 updated 10/02/18, 12:17

Description

The existing JS code for TCEform FlexForm sections is messy, mostly inline and not easy to maintain, the first part of the cleanup streamlines the HTML and the JavaScript.

  • Adds a jQuery version of the JavaScript features
    for TCEform FlexForms, and include them in
    the TYPO3 rendering call when accessing
    TCEforms FlexForms.
  • Adds clean “t3-flex” prefixed CSS classes for all
    components of FlexForms sections. Added styling
    for the components with the new classes
  • Removes all existing inline JS code for FlexForms
  • Adds minor bug fixes (no title output for section
    elements, preview text will be rendered on load on
    hidden section elements)
  • Reviewed existing ACTION code in TCEmain
    for flexform elements

Reviews 1