Form summary
The Form summary function allows you to create an overview of the most important properties of a form. Xima® Formcycle creates this summary as a PDF document.
Creating a form summary
You can create a summary of a form in the export option. The export option is available in the My forms menu (button to the right of the form card) or in the Xima® Formcycle Designer (more button at the top). This brings up a dialog with the following options:
- Language
- Select the language for the summary. For example, the summary contains a table with all form elements. The text in the header of this table depends on the chosen language.
- Export template
- Template to be used for generating the summary. When no template is selected, the default template included in Xima® Formcycle is used.
Using templates
A .doc or .docx file can be used as a template. It must be uploaded either as a client or form file. First select whether you would like to use a client file or a form file, then select the file to be used.
Creating templates
Form summary templates are Word documents that may contain certain form control elements. These control elements are replaced by Xima® Formcycle with the corresponding content – similarly to the workflow action Word Fill. Otherwise, you are free to customize the content and layout document as required.
Please note that you need to enable the developer tools in Word to insert or edit form fields. See Preparing a Word document for more details.
Content placeholders (form control elements)
The following placeholders are available and can be used to insert various form details into the generated form summary. The placeholder must be inserted as the name of a form control element.
Content | Placeholder code | Description and notes |
---|---|---|
Form description | ||
Form title | Inserts the title (name) of the form. | |
Last update | Date of the last update. | |
Link to form | Link to open the form on the master server. | |
Number of elements | The number of form elements in the form. | |
Preview image of the form | Inserts a preview image of the form. Optionally, you may pass the desired width and height in pixels, e.g. form_preview_image.b64img(579~|410) (width 579, height 410). When only a width (form_preview_image.b64img(579)) or height (form_preview_image.b64img(~|410)) is given, the image will be scaled and retain its original aspect ratio. |
Content placeholders (MergeField)
To insert the following content, the corresponding placeholder must be entered in the Word document as merge field. After inserting a placeholder in a MergeField, it will appear as «PLACEHOLDER». The following placeholders may be used and are replaced when the form summary is created:
Content | Placeholder | Description and notes |
---|---|---|
List of used elements | form_elements_html | |
Used data sources | form_datasource_html | |
Workflow | form_workflow_html |
To insert the following content, the corresponding placeholder must be entered directly in the Word document as plain text (without form control element). The following placeholders may be used and are replaced when the form summary is created:
Default templates
If no custom template is selected, Xima® Formcycle uses a default Word template to create the form summary. You can download the default template below - it can serve as a starting point for your own templates: