... |
... |
@@ -1,34
+1,42 @@ |
1 |
|
-{{figure image="upload.png" width="100"}}The icon for form elements of type //Upload//.{{/figure}} |
|
1 |
+{{panel float="right"}} |
|
2 |
+(% class="block text-align-center%){{ficon name="XUpload" size="4em"/}} |
2 |
2 |
|
|
4 |
+(% class="block%)The icon for form elements of type //Upload//. |
|
5 |
+{{/panel}} |
|
6 |
+ |
3 |
3 |
== Functionality == |
4 |
4 |
|
5 |
5 |
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/}}. |
6 |
6 |
|
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. |
|
11 |
+{{figure image="designer_element_upload_properties_base_en.png"}} |
|
12 |
+Additional base properties for upload elements, such as the image preview. |
9 |
9 |
{{/figure}} |
10 |
10 |
|
|
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 |
+ |
11 |
11 |
{{internBaseOptionsElement page="base"}} |
12 |
12 |
{{table dataTypeAlpha="0" colWidth="-500"}} |
13 |
13 |
|=Name|=Description |
14 |
|
-|image preview|When checked, a thumbnail will be shown for the file the uses has selected. |
|
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. |
15 |
15 |
{{/table}} |
16 |
16 |
{{/internBaseOptionsElement}} |
17 |
17 |
|
18 |
|
-{{figure image="image_5_en.png" width="200"}}{{/figure}} |
|
26 |
+{{figure image="designer_element_upload_constraints_label_de.png"}} |
|
27 |
+The constraints let you restrict the allowed file types and the maximum file size. |
|
28 |
+{{/figure}} |
19 |
19 |
|
20 |
20 |
{{internBaseOptionsElement page="cond"}} |
21 |
21 |
{{table dataTypeAlpha="0" colWidth="-500"}} |
22 |
22 |
|=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. |
25 |
25 |
|Max. size|Maximum size for the uploaded file in kilobytes. |
26 |
26 |
|Allowed extensions|Comma separated list of allowed file extensions the user may upload. |
27 |
27 |
{{/table}} |
28 |
28 |
{{/internBaseOptionsElement}} |
29 |
29 |
|
30 |
|
-{{figure image="image_6_en.png" width="200"}} |
31 |
|
-An optional file name used for saving the uploaded file on the server. |
|
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. |
32 |
32 |
{{/figure}} |
33 |
33 |
|
34 |
34 |
{{internBaseOptionsElement page="label"}} |