This external module allows you to display summary data from forms and/or fields into a nicely formatted HTML table display. The summary data is kept as a HTML string in a text or textarea field in the project. Typically this field is marked as @HIDDEN. To display the table, you can then 'pipe' this hidden field anywhere in your project, emails, or survey completion pages.
Only fields which contain values will be displayed (e.g. empty fields will be dropped off).
There are a number of options to help streamline the rendering and display of the summary table.
- Title (supports HTML and can be used to add custom text above a summary table)
- Source event_id if longitudinal (all fields/forms must come from the same event_id)
- Comma-separated list of forms to include
- Comma-separated list of fields to include
- Comma-separated list of fields to exclude (optional)
- Option to exclude all form status values
- Option to display field value under the field label (default is two column display)
- Option to specify field label width (in percentage).
- Option to specify the maximum length of a field value to display it in the second column. Once the value is larger than this maximum amount, it will be placed on a second line under the field label.
- You always display 'labels' and not titles.
- We filter HTML tags from labels that might be harmful embedding them into a form
- You do not need to include fields on an included form - the fields actually summarized are the union of the forms and fields specified (less the excluded fields)
- The destination field must be of type text or textarea and should not have any validation
- The destination field must be in the same event as the source fields for classical/longitudinal.
- If the source form is repeating, then the destination field must be in the same form.
- If the source forms/fields are in a repeating event, the destination field must be in that repeating event.
[02-06-2023] Added Framework 10, fixed exception when field label is blank
- Width Options: Auto, 1:2, 2:1?
- Include section headers