DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Change the layout for an individual FORM objectΒΆ

It is also possible to override the layout setting of a particular object within the form, like a checkbox. The layout function within an object only accepts the markup, like the following one.

tt_content.mailform.20 {
  10 = CHECKBOX
  10 {
    label = I want to receive the monthly newsletter by email.
    layout (
      <input />
      <label />
    )
  }
}

The example shows how to switch the input field and the label, just for this particular checkbox.