In TYPO3 7.4 it was possible to switch label and input in a form. For some reason this has been changed in 7.5 and 7.6.
class = form
enctype = multipart/form-data
id = contact
method = post
layout {
checkbox (
<input />
<label />
)
}
prefix = tx_form
confirmation = 0
Is this a known bug or is there a new way to do this?
Any help is very appreciated.
EXT:form was completely rewritten in 7.5. The whole frontend rendering was replaced by extbase and fluid.
Unfortunately, not all changes have been documented, yet. Some weeks ago, I did a major cleanup of the documentation which can be found here: https://docs.typo3.org/typo3cms/extensions/form/. The layout section is even more interesting for you. The linked document will explain, how to set up a view specific layout.
But using .layout stuff via TypoScript is not the best way anymore, when it comes to the customization of the layout in TYPO3 7.6. As the changelog shows, you should use fluid. The following examples depicts a form with some of the new features. I'm setting globally an additional partial path. But it is also possible to set a partial path for a specific form element (see element "900").
You can join typo3.slack.com and open the ext-form channel, if you need any further assistance. Over there, you will find more examples and instant help.