Wiki source code of Elemente


Hide last authors
gru 1.1 1 {{content/}}
2
fse 41.1 3 A form consists of one or multiple pages. The user starts at the first page and can navigate to other pages by pressing [[a button.>>doc:Button]] Each page itself contains multiple form elements that can be arranged in any way you like.
gru 1.1 4
fse 41.1 5 Standard form elements are always available in {{formcycle/}}. Additionally you may create your own [[form templates>>doc:Formcycle.Designer.Form.ElementTemplates]] in the {{designer/}}. By installing plugin, you can add additional elements for specialized purposes. Finally, it is also possible to include other elements and widget via third-party JavaScript libraries such as //jQuery UI//.
gru 1.1 6
fse 41.1 7 The following standard form elements are currently available:
gru 1.1 8
fse 41.1 9 {{subpages title="Standard form elements" float="none"/}}
gru 1.1 10
fse 41.1 11 == Positioning elements ==
gru 1.1 12
13 {{figure image="designer_add_element_de.png"}}
fse 41.1 14 You can move elements via drag&drop to where you would like to have them.
gru 1.1 15 {{/figure}}
16
fse 41.1 17 Create new element by clicking on a form element in the element list to the left. Move the element via drag&drop into the form and to the position where you would like to place them. You can also take an existing element in the form and move it to another position.
gru 1.1 18
fse 41.1 19 === Place an element inside another element ===
gru 1.1 20
fse 41.1 21 Some elements such as [[containers>>doc:Container]] and [[fieldsets>>doc:Fieldset]] allow you to group multiple form elements. To move an element inside a container or fieldset, click on the element and drag it over the container or fieldset.
gru 1.1 22
fse 41.1 23 === Moving an element without drag&drop ===
gru 1.1 24
fse 41.1 25 When there are many elements in a form, dragging an element from the top of the form to the bottom may get cumbersome. To make it easier to move element over a longer distance, do a double click on the element. This activates the element move mode and a small orange border appears around each element. Now scroll the form and on the position to which you want to move the form.
gru 1.1 26
fse 41.1 27 In case you do not want to move the element after, press escape or click on the element again to get out of the element move mode.
gru 1.1 28
fse 41.1 29 {{figure image="designer_mode_move_element_en.png"}}
30 Form elements can be moved without drag&drop as well. Just do a double click on the element, then click on the desired new position.
gru 1.1 31 {{/figure}}
32
fse 41.1 33 == Selecting elements ==
gru 1.1 34
fse 41.1 35 === Single selection ===
gru 1.1 36
fse 41.1 37 {{figure image="designer_element_and_properties_en.png"}}
38 Click on an element to select. You can then change its properties in the panel to the right.
gru 1.1 39 {{/figure}}
40
fse 41.1 41 To select an element, click on it with the mouse. The element gets highlighted in orange. You can now edit the properties of the selected element in the properties panel to the right.
gru 1.1 42
fse 41.1 43 === Multiple selection ===
gru 1.1 44
fse 41.1 45 {{figure image="designer_element_multiselect_en.png"}}
46 Press and hold the shift key to select multiple elements.
gru 1.1 47 {{/figure}}
48
fse 41.1 49 1. Press the shift key and keep holding it down.
50 1. Click on the elements you want to select.
gru 1.1 51
fse 41.1 52 All properties the seleected elements have got in common can edited at once in the properties panel to the right. If you change any property, it gets applied to all selected elements.
gru 1.1 53
fse 41.1 54 === Selecting parent elements ===
gru 1.1 55
fse 41.1 56 {{figure image="designer_element_and_hierarchy_en.png"}}
57 The navigation bar to the bottom left lets you see all parent elements.
gru 1.1 58 {{/figure}}
59
fse 41.1 60 When you select an element, you can see that element and all its parent elements in the navigation bar to the bottom left of the {{designer/}}. By clicking on any of those elemnts you can select them as well. This is especially helpful to select elements just as [[pages>>doc:Formcycle.Designer.Form.FormElements.Page]] or [[containers>>doc:Formcycle.Designer.Form.FormElements.Container]].
gru 1.1 61
fse 41.1 62 == Copying and deleting elements ==
63
64 {{figure image="designer_element_context_menu_en.png"}}
65 Do a right click on an element to open the context menu with various actions.
gru 1.1 66 {{/figure}}
67
fse 41.1 68 First, click on an element to select it. Now you can:
gru 1.1 69 Klicken Sie auf ein Element, um es zu markieren.
70
fse 41.1 71 * delete the element by pressing delete key (//del//). This works even if multiple elements are selected.
72 * copy the element by pressing //ctrl+c// and paste it by pressing //ctrl+v//
gru 1.1 73
fse 41.1 74 Alternatively, you can copy and delete element too by doing a right click on the element and selecting the corresponding action from the context menu.
75 {{id name="transform_elements" /}}
76 == Transform form elements ==
gru 1.1 77
fse 41.1 78 {{figure image="designer_element_transform_en.png"}}
79 By clicking on the element type selection a searchable list with possible target element types appears.
gru 1.1 80 {{/figure}}
81
fse 41.1 82 It is possible to transform existing elements in the form into other element types. While [[containers>>doc:Container]] and [[fieldsets>>doc:Fieldset]] can only be transformed into the respective other element type, all other element types can be transformed into any other type, but not into containers and fieldsets.