Wiki source code of Formulardesigner
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{content/}} | ||
2 | |||
3 | {{figure image="designer_workspace_en.png" width="600" clear="h2"}} | ||
4 | The workspace of the {{designer case="gen"/}}. It is broken up into several sections you can see in the figure above. The main area in the middle is the main design area that lets you edit your form. | ||
5 | {{/figure}} | ||
6 | |||
7 | The {{designer/}} provides you with a simple user interface for creating forms via drag&drop. Take a form element from the element bar on the left and drag it with the mouse to the form preview in the middle. Click on an existing form element to select it. View or edit its properties in the properties panel on the right. | ||
8 | |||
9 | Use the action bar on the top save the form. It also offers you several more advanced settings, such as setting up the workflow or creating a new datasource for the form. | ||
10 | |||
11 | The following is a short overview of the main sections of the workspace. | ||
12 | |||
13 | == Selecting an element == | ||
14 | |||
15 | {{figure image="designer_element_list_en.png" width="250"}} | ||
16 | The list of all avaiable form elements. Add them to the form via drag&drop. Click on an element with the mouse and drag it into the form. | ||
17 | {{/figure}} | ||
18 | |||
19 | To the left hand side of the {{designer/}} you can find the elements bar with all available form elements. To add a form element to the form, click on the element you would like to add and move it with mouse to the form preview in the middle. Place the form element on the position where you wish to insert it. There are several tabs to the top of the element bar: | ||
20 | |||
21 | ; Elements | ||
22 | : The standard form elements provided by {{formcycle/}}. These are always available. See also the [[list of form elements>>doc:.FormElements.WebHome]]. | ||
23 | ; Templates | ||
24 | : Here you can find form templates. Do a right click on a form element to save it as a template that is then available to all forms. See [[templates>>doc:ElementTemplates]] for further information. | ||
25 | ; More elements | ||
26 | : When a catalogue plugin was installed: This tab offers you more pre-configured form elements provided by the plugin. | ||
27 | |||
28 | More tabs may also show up in case a widget plugin was installed. | ||
29 | |||
30 | == Action bar == | ||
31 | |||
32 | {{figure image="designer_topbar_en_62.png" width="300"}} | ||
33 | The action bar on the top lets you save the form or see a preview of the current form. Click on more to access advanced options such as creating a database query. | ||
34 | {{/figure}} | ||
35 | |||
36 | You can find the action bar at the top of the {{designer/}}: | ||
37 | |||
38 | ; {{ficon name="content-save-all"/}}Save | ||
39 | : Save the current version of the form. This also updates the form immediately: all user who open the form link from now on will see the form as you saved it. You can also use the keyboard shortcut ctrl + s. | ||
40 | ; {{ficon name="workflow-fill"/}}Workflow | ||
41 | : View or edit the workflow of the form. The workflow controls what happens after a form was submitted. For example, you can send emails or create PDF documents. See also [[workflow processing>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.WebHome]]. | ||
42 | ; {{ficon name="share-variant"/}}Publish | ||
43 | : This offers you several options for including the form in your web page. This ranges from a simple standalone link to more complex integrations such as Typo3 and WordPress. See also [[the publish form menu>>doc:Formcycle.UserInterface.MyForms.Publish.WebHome]]. | ||
44 | ; {{ficon name="play1"/}}Preview | ||
45 | : Open a preview of the current form in a new window. Even when you did not save the form yet, this always shows you the form as you see it in the {{designer/}}. This lets you try out the form first before you save it. Especially useful when you made the form dynamic with conditions for when to hide or show some form elements. | ||
46 | |||
47 | The //More// button lets you access several advanced settings. Most of these settings are also available in the [[form overview page>>doc:Formcycle.UserInterface.MyForms.WebHome]]. The following settings are available: | ||
48 | |||
49 | ; {{ficon name="play1"/}} Open | ||
50 | : {{html}} {{/html}} | ||
51 | :; {{ficon name="play1"/}} In preview mode | ||
52 | :: Open a preview of the current form in a new window. Even when you did not save the form yet, this always shows you the form as you see it in the {{designer/}}. This lets you try out the form first before you save it. Especially useful when you made the form dynamic with conditions for when to hide or show some form elements. | ||
53 | :; {{ficon name="play1"/}} In live mode | ||
54 | :: Open the form in a new window. In contrast to preview mode, this will the open the form as it is saved in the system. Unsaved changes will not be present. | ||
55 | |||
56 | ; {{ficon name="properties"/}} Element overview | ||
57 | : Opens a new window with a list of all form elements in the current form. This lets you quickly get an overview off all elements and its properties. You can also export the list as a CSV or excel file. | ||
58 | ; {{ficon name="lock-open-outline"/}} Lock / unlock | ||
59 | : When many users are working in the system, you may run into troubles when multiple users attempt to edit a form simultaneously. Edits made by one user could be overwritten by another user. | ||
60 | To prevent this from happening, you can lock the form. When a form is locked, all other users are receive a warning when they attempt to save the form | ||
61 | ; {{ficon name="lock-open-outline"/}} Files | ||
62 | : Lets you upload arbitrary files. Should be used for files that are required only for this form. For files shared by multiple forms, upload it as a [[client resource>>doc:Formcycle.UserInterface.FilesAndTemplates.Files]]. See also [[form resource files>>doc:Formcycle.UserInterface.MyForms.Files]]. | ||
63 | ; {{ficon name="user-doi"/}} Double opt-in | ||
64 | : If necessary, lets you setup a double opt-in process for the form. When a user enters some data and submits the form, they are sent an email and are asked to confirm their submission. Until they do, the submitted data is not processed further in any way. See also [[double opt-in>>doc:Formcycle.UserInterface.MyForms.DoubleOptIn.WebHome]]. | ||
65 | ; {{ficon name="user"/}} Access | ||
66 | : Here you can change several settings related to form permissions. For example, you can add a password for opening the form, or change which user groups may edit the form. See also [[access settings>>doc:Formcycle.UserInterface.MyForms.Access]]. | ||
67 | ; {{ficon name="inbox"/}} Inbox | ||
68 | : Lets you change the [[inbox>>doc:Formcycle.Inbox.WebHome]] for submitted forms. You can also modify which columns are show in the form-specific inbox. See also [[inbox settings>>doc:Formcycle.UserInterface.MyForms.Inbox]]. | ||
69 | ; {{ficon name="table-large"/}} Data table | ||
70 | : The data table is an advanced options that allows you to create your own database table for submitted form data. See also [[data table settings>>doc:Formcycle.UserInterface.MyForms.DataTables]]. | ||
71 | ; {{ficon name="clock-outline"/}} Versions | ||
72 | : A list of all versions of the form. You can add a version and delete or export existing versions. See also [[form versions>>doc:Formcycle.UserInterface.MyForms.Versions]]. | ||
73 | ; {{ficon name="information-outline"/}} Info | ||
74 | : An overview with some technical details for the form, such as its ID or the date when it was created. | ||
75 | |||
76 | ; {{icon name="download"/}} Export {{version major="6" minor="2" patch="0"/}} | ||
77 | : {{html}} {{/html}} | ||
78 | :; {{ficon name="shredder"/}} Word / PDF Export | ||
79 | :: The form can be exported here as a static Word or PDF document. See also [[Word / PDF Export>>doc:Formcycle.UserInterface.MyForms.Export.Blank]]. | ||
80 | :; {{ficon name="shredder"/}} Form summary | ||
81 | :: A profile with an overview of the most important properties of a form can be created here. See also [[Form summary>>doc:Formcycle.UserInterface.MyForms.Export.Summary]]. | ||
82 | |||
83 | ; {{ficon name="date"/}} Schedules {{version major="6" minor="5" patch="0"/}} | ||
84 | : Schedules can be created and edited here. See also [[Appointment managment>>doc:Formcycle.UserInterface.Appointments.WebHome]]. | ||
85 | |||
86 | ; {{ficon name="file-blank"/}} Templates {{version major="6" minor="6" patch="0"/}} | ||
87 | : {{html}} {{/html}} | ||
88 | :; {{ficon name="file-css-blank"/}} Design (CSS) | ||
89 | :: CSS templates can be configured here, which offer the possibility to define global //CSS// rules that can be used by all forms. See also [[Design (CSS)>>doc:Formcycle.UserInterface.FilesAndTemplates.Design.WebHome]]. | ||
90 | :; {{ficon name="file-html-blank"/}} HTML | ||
91 | :: HTML templates for [[response pages>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.ResponsePage.WebHome]], [[privacy policy>>doc:Formcycle.FormDesigner.FormElements.Footer||anchor="HPrivacypolicy"]] or the [[imprint>>doc:Formcycle.FormDesigner.FormElements.Footer||anchor="HImprint"]] can be created and edited here. See also [[HTML templates>>doc:Formcycle.UserInterface.FilesAndTemplates.HTML.WebHome]]. | ||
92 | |||
93 | ; {{ficon name="database"/}} Data sources | ||
94 | : {{html}} {{/html}} | ||
95 | :; {{ficon name="database-search"/}} Database queries | ||
96 | :: Here you can view or edit SQL queries for custom databases. See also [[database queries>>doc:Formcycle.UserInterface.Data.DBQueries]]. | ||
97 | :; {{ficon name="account-search"/}} LDAP queries | ||
98 | :: Here you can view or edit LDAP queries for custom active directories. See also [[LDAP-Abfragen>>doc:Formcycle.UserInterface.Data.LDAPQueries]]. | ||
99 | :; {{ficon name="table-large"/}} Sources | ||
100 | :: Add a datasource with static CSV, XML or JSON data, such as a list of city names or ZIP codes. It is possible to import EXCEL files as well. You can then use this data in the form, such as with [[select elements>>doc:.FormElements.Selection]]. See also [[Sources>>doc:Formcycle.UserInterface.Data.Sources]]. | ||
101 | |||
102 | ; {{ficon name="lan-connect"/}} Connections | ||
103 | : {{html}} {{/html}} | ||
104 | :; {{ficon name="database-gear"/}} Database connections | ||
105 | :: To run a database query, you first need to configure a connection to a database. This menu entry lets you do that. See also [[database connections>>doc:Formcycle.UserInterface.Data.DBConnections]]. | ||
106 | :; {{ficon name="user"/}} LDAP connection | ||
107 | :: To run an LDAP query, you first need to configure a connection to an active directory. This menu entry lets you do that. See also [[LDAP connections>>doc:Formcycle.UserInterface.Data.LDAPConnections]]. | ||
108 | |||
109 | ; {{ficon name="action-download-file"/}} Local backups | ||
110 | : {{html}} {{/html}} | ||
111 | :; {{ficon name="folder"/}} Load local backup | ||
112 | :: Download the current form as file to your computer. You can use this as an additional backup mechanism, or to share forms with other people. Please note that this only exports the form itself, not the workflow or upload files. To export the entire form with the workflow and all files,[[use the form export>>doc:Formcycle.UserInterface.MyForms.Export.WebHome]]. | ||
113 | :; {{ficon name="download-network"/}} Save local backup | ||
114 | :: Upload a form saved on your computer. This replaces the current content of the {{designer/}} with the form you select here. | ||
115 | |||
116 | == Form preview == | ||
117 | |||
118 | Die Formularvorschau in der Mitte ist der Hauptteil des {{designer case="gen"/}}. Hier ist das Formular immer so zu sehen, wie es auch später aussieht. Formularelemente können direkt von der Elementleiste links in das Formular gezogen werden. Alle Änderungen an den Eigenschaften des Formulars im Eigenschaftsbereich rechts haben sofort Auswirkung auf die Formularvorschau. | ||
119 | |||
120 | === Move form elements === | ||
121 | |||
122 | To move an existing form element to a different position, you have got two options: | ||
123 | |||
124 | * Click on the element and drag it with the mouse to the desired position | ||
125 | * Do a double click on the element, scroll if necessary, and click on the new position. This comes in handy for longer forms as it does not required you to hold down the left mouse button while scrolling. | ||
126 | |||
127 | === Copy and delete form elements === | ||
128 | |||
129 | To delete or copy (duplicate) a form element, do a right click on the form element. This opens a context menu with several options, such as deleting or duplicating it. Keyboard shortcuts are supported as well: //del// for deleting an element, ctrl+c and ctrl+v for copying an element. | ||
130 | |||
131 | === Search for elements === | ||
132 | |||
133 | {{figure image="designer_element_search_en.png"}} | ||
134 | The search bar for finding form elements. Open it by clicking on the search button {{icon name="search"/}} at the bottom right; or press ctrl+f. | ||
135 | {{/figure}} | ||
136 | |||
137 | As a form grows larger, finding a certain element becomes increasingly more difficult. Use the element search to locate the element. To open the search bar, either | ||
138 | |||
139 | * click the search button {{icon name="search"/}} to the bottom right | ||
140 | * or press ctrl+f | ||
141 | |||
142 | Enter the name of the element you are looking for. The search bar shows you how many elements were found. Press enter or click on the left and right arrows to jump to the element. This searches for the name of the element, that is, the name you enter in the base settings section of the properties panel. It it also possible to search for other properties of elements: For example, when you want to search for all options of a select field that contain the word //Website//, enter //options:Website// in the search bar. | ||
143 | |||
144 | == Properties panel == | ||
145 | |||
146 | The properties panel lets you edit both some general settings of the form, as well as the properties of the selected form element. You can switch between different sets of properties by clicking on the tabs at the top: | ||
147 | |||
148 | ; Properties | ||
149 | : Available only when a form element is selected: Contains the most common properties of form elements, such as its name, a help text or its constraints. See also the [[element properties>>doc:.ElementProperties.WebHome]] and [[the list of form elements>>doc:.FormElements.WebHome]]. | ||
150 | ; Advanced | ||
151 | : Available only when a form element is selected: Contains some less common properties, such as user group and state-based restrictions or HTML attributes. See also the [[element properties>>doc:.ElementProperties.WebHome]] and [[the list of form elements>>doc:.FormElements.WebHome]]. | ||
152 | ; Form | ||
153 | : This tab is always and lets you edit the settings of the current form, such as its name, width, or layout. See also [[form properties>>doc:Formcycle.FormDesigner.FormProperties]]. | ||
154 | ; Default | ||
155 | : Available only when a form element is selected: Contains the default settings for each element type. When you place a new element in the form, the new elements gets these properties. For example, you could change the default settings so that all input fields are required fields by default. | ||
156 | |||
157 | == Navigation == | ||
158 | |||
159 | [[image:designer_element_navigation_en.png]] | ||
160 | |||
161 | You can place input fields and other form fields inside [[fieldsets>>doc:.FormElements.Fieldset]] or [[containers>>doc:.FormElements.Container]]. And you can also put containers or fieldsets inside containers or fieldsets. To get a quick overview of which containers and fieldsets and element is inside of, look the navigation bar to the bottom left of the {{designer/}}. By clicking on a container or fieldset in the navigation bar, you can also quickly select that container or fieldset. | ||
162 | |||
163 | == Script and CSS section == | ||
164 | |||
165 | This is an advanced section that lets you customize your form even further. Click on the arrow [[image:designer_south_pane_expander.png]] to the bottom of the {{designer/}} to open it. This section consists of four different tabs: | ||
166 | |||
167 | ; JavaScript tab | ||
168 | : Write your own custom JavaScript logic to make the form work the way you want. The JavaScript you write in this tab is run automatically once the form is done loading, ie. [[when the document is ready>>url:https://api.jquery.com/ready/||target="_blank"]]. All JavaScript files uploaded as a [[form resource >>doc:Formcycle.UserInterface.MyForms.Files]] are included automatically in the form (but are run as soon as possible, if necessary, wait for the document to finish loading). Depending on your use case, you may want to extract some parts of your JavaScript into a separate files, especially utility functions and libraries that do not need the DOM to be loaded fully. This cleans up your JavaScript code and makes it easier to understand. For more in-depth details, see the [[JavaScript tab>>doc:Formcycle.FormDesigner.CodingPanel.WebHome]]. | ||
169 | ; CSS tab | ||
170 | : Customize the layout and look of your form by adding your own hand-crafted CSS. As with JavaScript, you can also upload CSS files as a form resource, these are loaded automatically as well. See also the help page on the [[CSS tab>>doc:Formcycle.FormDesigner.CodingPanel.CSSTab.WebHome]]. | ||
171 | ; Metadata | ||
172 | : The text you enter in this tab is included in the HTML header of the form. This lets you, among other things, add your own meta attributes for search engine optimization. Or you can include some additional script, CSS or font files. See also the [[meta tab>>doc:Formcycle.FormDesigner.CodingPanel.MetaTab]]. | ||
173 | ; Variables | ||
174 | : Variables are hidden input fields added to the form. Often they are used with JavaScript to store the result of certain computations and make these available for further processing. See also the [[variables tab>>doc:Formcycle.FormDesigner.CodingPanel.VariablesTab]]. | ||
175 | |||
176 | == Language and version == | ||
177 | |||
178 | [[image:designer_language_version_select_en.png]] | ||
179 | |||
180 | You can find the language and version settings to the bottom right of the {{designer/}}: | ||
181 | |||
182 | * The default language of the form is what you enter when you first create the form. Form elements have got many properties, some of which are functional, such as whether it is a required field. Some properties are language-dependent, such as the label text or the placeholder. You can translate these language-dependent properties into different languages to make your form international. To do so, click on the language in the toolbar at the bottom and switch to the language you would like to edit. This hides all functional properties and only shows those properties that need to be translated. see also [[internationalization>>doc:Formcycle.FormDesigner.Internationalization]]. | ||
183 | * Each time you save the form, the system creates a backup automatically. Click on the version in the toolbar at the bottom to switch to an older backup version of the form. |