Show last authors
1 {{panel float="right"}}
2 (% class="block text-align-center%){{ficon name="XUpload" size="4em"/}}
3
4 (% class="block%)The icon for form elements of type //Upload//.
5 {{/panel}}
6
7 == Functionality ==
8
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
11 {{figure image="designer_element_upload_properties_base_en.png"}}
12 Additional base properties for upload elements, such as the image preview.
13 {{/figure}}
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 {{internBaseOptionsElement page="base"}}
20 {{table dataTypeAlpha="0" colWidth="-500"}}
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.
23 {{/table}}
24 {{/internBaseOptionsElement}}
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}}
29
30 {{internBaseOptionsElement page="cond"}}
31 {{table dataTypeAlpha="0" colWidth="-500"}}
32 |=Name|=Description
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.
35 {{/table}}
36 {{/internBaseOptionsElement}}
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.
40 {{/figure}}
41
42 {{internBaseOptionsElement page="label"}}
43 {{table dataTypeAlpha="0" colWidth="-500"}}
44 |=Name|=Description
45 |File name|When no name is specified, the uploaded file will be saved with its original name. Otherwise, this name is used for saving the file on the server.
46 {{/table}}
47 {{/internBaseOptionsElement}}
48
49 {{internBaseOptionsElement page="css"/}}
50
51 {{internBaseOptionsElement page="attr"/}}
52
53 {{internBaseOptionsElement page="avail"/}}
54
55 {{internBaseOptionsElement page="ronly"/}}
56
57 {{internBaseOptionsElement page="misc"/}}
58
59 {{content moveToTop="true"/}}
Copyright 2000-2024