<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.smt-x.com/index.php?action=history&amp;feed=atom&amp;title=Repeatable_Sections</id>
	<title>Repeatable Sections - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.smt-x.com/index.php?action=history&amp;feed=atom&amp;title=Repeatable_Sections"/>
	<link rel="alternate" type="text/html" href="https://wiki.smt-x.com/index.php?title=Repeatable_Sections&amp;action=history"/>
	<updated>2026-04-03T23:09:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.3</generator>
	<entry>
		<id>https://wiki.smt-x.com/index.php?title=Repeatable_Sections&amp;diff=831&amp;oldid=prev</id>
		<title>Smtxwiki at 11:27, 22 January 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.smt-x.com/index.php?title=Repeatable_Sections&amp;diff=831&amp;oldid=prev"/>
		<updated>2024-01-22T11:27:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:27, 22 January 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l93&quot;&gt;Line 93:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 93:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;- http://dev.ssp7.smt-x.com/forms/form.aspx?id=385&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;- http://dev.ssp7.smt-x.com/forms/form.aspx?id=385&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Possible Error messages==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;In case you receive an error message like &quot;Field id xxx has parent field id xxx, but parent field not found in indent collection&quot;, you most probably have included your repeatable section within another section. That is no supported functionality and you should bring your repeatable section to the root of the form. By setting the conditions on the section similar to the other section where you wanted to include the repeatable section in, it should work in a similar way.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Smtxwiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.smt-x.com/index.php?title=Repeatable_Sections&amp;diff=205&amp;oldid=prev</id>
		<title>Smtxwiki: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.smt-x.com/index.php?title=Repeatable_Sections&amp;diff=205&amp;oldid=prev"/>
		<updated>2020-05-25T20:44:30Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:44, 25 May 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Smtxwiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.smt-x.com/index.php?title=Repeatable_Sections&amp;diff=204&amp;oldid=prev</id>
		<title>Smtxwiki at 13:41, 22 May 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.smt-x.com/index.php?title=Repeatable_Sections&amp;diff=204&amp;oldid=prev"/>
		<updated>2018-05-22T13:41:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Since December 2017 repeateable sections are supported in the Forms Editor&lt;br /&gt;
&lt;br /&gt;
This page is dedicated to setup tips &amp;amp; tricks.&lt;br /&gt;
&lt;br /&gt;
Using default values in the form, with fields coming from the repeated section.&lt;br /&gt;
Case : we have the field &amp;#039;Amount&amp;#039; and it is repeated 3 times, but our user only fills in the first and last field:&lt;br /&gt;
- 1&lt;br /&gt;
- &lt;br /&gt;
- 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Default setup ==&lt;br /&gt;
&lt;br /&gt;
Now, if we simply use that repeated field as a default value, we will get:&lt;br /&gt;
      #REPLACE-FORMFIELD-repeatingsectiontest||amount||#&lt;br /&gt;
      gives:&lt;br /&gt;
      1, 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Set Seperator ==&lt;br /&gt;
&lt;br /&gt;
You can select your own seperator (even double pipes) by using $$, followed by the seperator you want to use.&lt;br /&gt;
example:&lt;br /&gt;
      #REPLACE-FORMFIELD-repeatingsectiontest||amount||$$;#&lt;br /&gt;
      gives:&lt;br /&gt;
      1;3&lt;br /&gt;
&lt;br /&gt;
== Show all values ==&lt;br /&gt;
Show all values, including the empty entries, by using ++&lt;br /&gt;
example:&lt;br /&gt;
      #REPLACE-FORMFIELD-repeatingsectiontest||amount||++;#&lt;br /&gt;
      gives:&lt;br /&gt;
      1;;3&lt;br /&gt;
&lt;br /&gt;
== Use first entry as default value for all other ==&lt;br /&gt;
If you want to use the first entry as a default value, use ~~&lt;br /&gt;
&lt;br /&gt;
Create a seperate field, that holds this as dynamic value. You can then use this field as defautl value in the repeated section. With this trick, you can achieve that the first value for a field is copied to all instances below.&lt;br /&gt;
example:&lt;br /&gt;
    #REPLACE-FORMFIELD-repeatingsectiontest||amount||~~#&lt;br /&gt;
    gives&lt;br /&gt;
    1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Calculate total ==&lt;br /&gt;
Calculating a total amount, based on the repeated fields.&lt;br /&gt;
&lt;br /&gt;
We will use the $$-command, replacing the seperator with a &amp;#039;+&amp;#039;, and making that field a calculated field:&lt;br /&gt;
     FORMAT(&amp;#039;{0:N2}&amp;#039;, #REPLACE-FORMFIELD-DANew||Total_Ligne||$$+#)&lt;br /&gt;
&lt;br /&gt;
Total_Ligne is the total amount per section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Index numbers ==&lt;br /&gt;
We want to have a title for each repeated section, that shows the index, so th e user knows in which row he is working.&lt;br /&gt;
to show something like (Line nr XXX&amp;#039;, do this:&lt;br /&gt;
&lt;br /&gt;
      #REPLACE-REPEATABLESECTIONINDEX-one#&lt;br /&gt;
&lt;br /&gt;
To start from 0, use: &lt;br /&gt;
      #REPLACE-REPEATABLESECTIONINDEX-zero#&lt;br /&gt;
&lt;br /&gt;
To use this number in a summary table (see also below), add first a hidden field in the repeated section, that holds:&lt;br /&gt;
     #REPLACE-REPEATABLESECTIONINDEX-one#&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Summary table ==&lt;br /&gt;
Creating a summary table, using TRANSPOSE&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;#039;&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;th style=&amp;quot;width: 50px; text-align: left; background-color: #D5CAD0;&amp;quot;&amp;gt;Nr&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th style=&amp;quot;width: 75px; text-align: left; background-color: #D5CAD0;&amp;quot;&amp;gt;Designation&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th style=&amp;quot;width: 75px; text-align: left; background-color: #D5CAD0;&amp;quot;&amp;gt;Quantité&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th style=&amp;quot;width: 75px; text-align: left; background-color: #D5CAD0;&amp;quot;&amp;gt;Sem.&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th style=&amp;quot;width: 75px; text-align: left; background-color: #D5CAD0;&amp;quot;&amp;gt;Année&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th style=&amp;quot;width: 75px; text-align: left; background-color: #D5CAD0;&amp;quot;&amp;gt;Unit&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th style=&amp;quot;width: 75px; text-align: left; background-color: #D5CAD0;&amp;quot;&amp;gt;Total&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&amp;#039; + TRANSPOSE(&amp;#039;||&amp;#039;, &amp;#039;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;#039;, &amp;#039;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;#039;, &amp;#039;#REPLACE-FORMFIELD-DANew||LigneNrHidden||++||#&amp;#039;,&lt;br /&gt;
&amp;#039;#REPLACE-FORMFIELD-DANew||Designation1||++||#&amp;#039;, &amp;#039;#REPLACE-FORMFIELD-DANew||Quantite||++||#&amp;#039;, &amp;#039;#REPLACE-FORMFIELD-DANew||Livr_semaine||++||#&amp;#039;, &amp;#039;#REPLACE-FORMFIELD-DANew||Livr_annee||++||#&amp;#039;, &amp;#039;#REPLACE-FORMFIELD-DANew||Prix||++||#&amp;#039;, &amp;#039;#REPLACE-FORMFIELD-DANew||Total_Ligne_Formatted||++||#&amp;#039;&lt;br /&gt;
) &lt;br /&gt;
+ &amp;#039;&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;#039;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I refer to the sample forms below&lt;br /&gt;
&lt;br /&gt;
sample forms : &lt;br /&gt;
- http://dev.ssp7.smt-x.com/Forms/form.aspx?id=406&lt;br /&gt;
&lt;br /&gt;
- http://dev.ssp7.smt-x.com/forms/form.aspx?id=385&lt;/div&gt;</summary>
		<author><name>Smtxwiki</name></author>
	</entry>
</feed>