Changes for page Voraussetzung Word


From version 8.1
edited by Nils Schweigert
on 09.09.2022, 15:34
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//.