Skip to content

Instantly share code, notes, and snippets.

@xperseguers
Last active June 11, 2020 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xperseguers/22595ad315d242fa9cf39cadf77f4660 to your computer and use it in GitHub Desktop.
Save xperseguers/22595ad315d242fa9cf39cadf77f4660 to your computer and use it in GitHub Desktop.
FlexForm for a Plugin with a repeatable section
<T3DataStructure>
<meta>
<langDisable>1</langDisable>
</meta>
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<settings.field_limit>
<TCEforms>
<label>LIMIT</label>
<config>
<type>input</type>
<size>4</size>
<max>4</max>
<eval>int</eval>
<checkbox>0</checkbox>
<range>
<upper>999</upper>
<lower>0</lower>
</range>
<default>0</default>
</config>
</TCEforms>
</settings.field_limit>
<settings.field_options>
<type>array</type>
<title>ALL OPTIONS</title>
<el>
<field_optioncontainer>
<type>array</type>
<title>SINGLE OPTION</title>
<el>
<field_title>
<TCEforms>
<label>TITLE</label>
<config>
<type>input</type>
<size>48</size>
<eval>trim</eval>
</config>
</TCEforms>
</field_title>
<field_filter>
<TCEforms>
<label>FILTER</label>
<config>
<type>input</type>
<size>48</size>
<eval>trim</eval>
</config>
</TCEforms>
</field_filter>
</el>
</field_optioncontainer>
</el>
<section>1</section>
</settings.field_options>
</el>
</ROOT>
</sDEF>
</sheets>
</T3DataStructure>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment