TYPO3 flexforms: dynamically add form elements

raw

README.rst

Use <section>1</section> to let the user add and remove instances of elements dynamically.

Useful if you don't know before how many form elements you need.

raw

flexform.xml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="utf-8"?>
<T3DataStructure>
  <meta>
    <langDisable>1</langDisable>
  </meta>
  <ROOT>
    <type>array</type>
    <el>
      <emails>
        <section>1</section>
        <type>array</type>
        <title>Contact form recipients</title>
        <el>
          <container>
            <title>Recipient</title>
            <type>array</type>
            <el>
              <email>
                <TCEforms>
                  <label>Email</label>
                  <config>
                    <type>input</type>
                    <size>48</size>
                  </config>
                </TCEforms>
              </email>
            </el>
          </container>
        </el>
      </emails>
    </el>
  </ROOT>
</T3DataStructure>
 
raw

screenshot.png

screenshot.png
Christian Weiske Christian Weiske
owner

History