... |
... |
@@ -1,42
+1,34 @@ |
1 |
|
-{{panel float="right"}} |
2 |
|
-(% class="block text-align-center%){{ficon name="XUpload" size="4em"/}} |
|
1 |
+{{figure image="upload.png" width="100"}}The icon for form elements of type //Upload//.{{/figure}} |
3 |
3 |
|
4 |
|
-(% class="block%)The icon for form elements of type //Upload//. |
5 |
|
-{{/panel}} |
6 |
|
- |
7 |
7 |
== Functionality == |
8 |
8 |
|
9 |
9 |
Form elements of type //Upload// add an upload element to the form for uploading files that will be send together with the form data when the form is submitted. You can also add a label in the properties panel //label// of the {{designer/}}. |
10 |
10 |
|
11 |
|
-{{figure image="designer_element_upload_properties_base_en.png"}} |
12 |
|
-Additional base properties for upload elements, such as the image preview. |
|
7 |
+{{figure image="upload-img.png" width="250"}} |
|
8 |
+When the option //image preview// is selected and the user select an image, a thumbnail of that image is shown. When the user select a file other than an image, a general icon is shown. |
13 |
13 |
{{/figure}} |
14 |
14 |
|
15 |
|
-{{figure image="designer_element_upload_image_preview.png"}} |
16 |
|
-When the image preview is enabled and the user select an image, a thumbnail of that image is shown. When the user select a file other than an image, a general icon is shown. |
17 |
|
-{{/figure}} |
18 |
|
- |
19 |
19 |
{{internBaseOptionsElement page="base"}} |
20 |
20 |
{{table dataTypeAlpha="0" colWidth="-500"}} |
21 |
21 |
|=Name|=Description |
22 |
|
-|Image preview|When checked, displays a thumbnail of the file the user selected. For image files this is a scaled down version of that image. For other files, a file icon is shown. |
|
14 |
+|image preview|When checked, a thumbnail will be shown for the file the uses has selected. |
23 |
23 |
{{/table}} |
24 |
24 |
{{/internBaseOptionsElement}} |
25 |
25 |
|
26 |
|
-{{figure image="upload_constraints_en.png"}} |
27 |
|
-The constraints let you restrict the allowed file types and the maximum file size. |
28 |
|
-{{/figure}} |
|
18 |
+{{figure image="image_5_en.png" width="200"}}{{/figure}} |
29 |
29 |
|
30 |
30 |
{{internBaseOptionsElement page="cond"}} |
31 |
31 |
{{table dataTypeAlpha="0" colWidth="-500"}} |
32 |
32 |
|=Name|=Description |
|
23 |
+|Required|When checked, the input field cannot be empty and the user must enter a value. This will add a red star ((% style="color: rgb(255, 0, 0);" %)*(%%)) to the label of the input field automatically. |
|
24 |
+|Required group|Available only when the option //required// has been selected. Specifies the required-group to which the element should belong. When two or more elements belong to a same required-group, at least one form field must not be empty. All other form fields do not need to be filled out. |
33 |
33 |
|Max. size|Maximum size for the uploaded file in kilobytes. |
34 |
|
-|Extensions|Comma separated list of allowed file extensions the user may upload. Only files with the given extensions may be uploaded by users. File extenstions may start with or without a dot. For example //pdf// or //.pdf// will restrict uploads to PDF files. |
|
26 |
+|Allowed extensions|Comma separated list of allowed file extensions the user may upload. |
35 |
35 |
{{/table}} |
36 |
36 |
{{/internBaseOptionsElement}} |
37 |
37 |
|
38 |
|
-{{figure image="designer_element_upload_properties_label_de.png"}} |
39 |
|
-You can also specify a file name to be used instead of the original file name. |
|
30 |
+{{figure image="image_6_en.png" width="200"}} |
|
31 |
+An optional file name used for saving the uploaded file on the server. |
40 |
40 |
{{/figure}} |
41 |
41 |
|
42 |
42 |
{{internBaseOptionsElement page="label"}} |