Changes for page Voraussetzung Word


From version 4.1
edited by Nils Schweigert
on 09.09.2022, 15:30
Change comment: There is no comment for this version
To version 8.5
edited by awa
on 26.09.2022, 13:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.nsc
1 +XWiki.awa
Content
... ... @@ -28,6 +28,11 @@
28 28  If the form element is a repeated element, the text field is replaced with the value of all dynamically created fields separated by a comma. For example, if there are three dynamic field, the value could be //Anton,Sabine,Odo//.
29 29  {{/info}}
30 30  
31 +{{info}}
32 +The value of form elements is visible in the document. When you wish to avoid that, you can set the word function as the help text of the form element. When the help text contains a function, that function always takes precedence over functions in the value of form elements.
33 +{{/info}}
34 +
35 +
31 31  See also [[repeated fields>>Formcycle.Designer.Form.ElementProperties.BaseProperties]].
32 32  
33 33  == Example ==
... ... @@ -38,7 +38,7 @@
38 38  
39 39  In this example, the text field form control with the default text //tfFirstName// is replaced with the content of the form element named //tfFirstName//. Similarly, the text field form control //tfLastName// and //tfQuestion// are replaced with the corresponding form elements as well.
40 40  
41 -== Word Fill functionen ==
46 +== Word fill functions ==
42 42  
43 43  Sometimes it is necessary to transform or edit the raw value of a form element before inserting it into the word document. This can be achieved with the following functions.
44 44  
... ... @@ -154,6 +154,7 @@
154 154  
155 155  {{table dataTypeAlpha="0" preSort="0"}}
156 156  |= Function |= Description|= Examples|= Explanation
162 +| empty {{version major="7" minor="2"/}}|Checks whether the list of values is empty or one of the values is empty.|sel1.empty() |Returns //1// when no option or an option with an empty value was selected for a [[select element>>Formcycle.Designer.Form.FormElements.Selection]]. Otherwise, returns //0//.
157 157  | lsttxt |Replaces the value of the option of a selection element with its text (display) value. Stands for //list text.//|sel1.lsttxt() |Returns the text value of the selected option of the [[selection element>>Formcycle.Designer.Form.FormElements.Selection]] with the name //sel1//.
158 158  | lsttitle |Replace the value of the selected option of a selection element with its title. Stands for //list title//.|sel1.lsttitle() |Returns the title (if given) of the selected option of the selection element with the name //sel1//.
159 159  | lst |Replaces all values of a select element with the corresponding value of a certain column from the data source that provides the options for the select element. The name of the column must be given as an argument. When the data source does not given any names for its columns, you must use //col0//, //col1//, //col2// etc.|sel1.lst("CountryName")|Returns the value of the column with the name "CountryName" from the data source of the select element with name //sel1//.
... ... @@ -189,7 +189,7 @@
189 189  
190 190  It is possible to insert placeholders into the created form control elements.
191 191  
192 -== Interpreting HTML {{version major="7" minor="2"/}} ==
198 +== Insert HTML {{version major="7" minor="2"/}} ==
193 193  
194 194  {{figure image="addField_en.png" width="400"}}
195 195  Adding a field.
... ... @@ -200,21 +200,3 @@
200 200  {{/figure}}
201 201  
202 202  In case the text value of the form elements or placeholders need to be interpreted as HTML, they have to be added through //MergeFields//. //MergeFields// can be inserted through //Insert// {{rarrow/}} //Quick Parts// {{rarrow/}} //Field//. In the pop up window, under the menu //Place choose a field//, the field name //MergeField// has to be selected. After selecting //MergeFields//, under the menu //Field properties//, in the field //Field name//, the name of the form element or placeholder has to be inserted.
203 -
204 -
205 -== Placeholder replacement ==
206 -
207 -It is possible to insert placeholders into the created form control elements.
208 -
209 -== Interpreting HTML == {{version major="7" minor="2"/}}
210 -
211 -{{figure image="addField_en.png" width="400"}}
212 -Adding a field.
213 -{{/figure}}
214 -
215 -{{figure image="mergeField_en.png" width="400"}}
216 -Creating a //MergeField//.
217 -{{/figure}}
218 -
219 -In case the text value of the form elements or placeholders need to be interpreted as HTML, they have to be added through //MergeFields//. //MergeFields// can be inserted through //Insert// {{rarrow/}} //Quick Parts// {{rarrow/}} //Field//. In the pop up window, under the menu //Place choose a field//, the field name //MergeField// has to be selected. After selecting //MergeFields//, under the menu //Field properties//, in the field //Field name//, the name of the form element or placeholder has to be inserted.
220 -