User manual · Chapter 4

Reports

A report template turns a submission into a finished report — the same layout every time, filled with that submission's answers. There are two kinds. A PDF template places each answer at a fixed spot on a page. A Word-style template is written like a document: it flows onto as many pages as the answers need, and its reports also download as Word files. This chapter designs an inspection report of each kind for the Site Inspection form and tries both on a real submission.

4.1 A form's report templates#

Each form has its own report templates. To open them, click the three-dot menu on the form's card in the Forms folder — or beside New submission on its submissions page — and choose Report templates. A new form has none yet.

The report templates of a form
Figure 4.1 The report templates of a form
  1. 1Start a new report template
  2. 2Every report made from this form

Click New template and choose PDF (classic) to open the PDF designer. Word-style is described under "Word-style templates" below.

4.2 The PDF designer#

The designer shows a page on the canvas in the middle. On the left are the form's fields; along the edge of the canvas are the elements you can place; on the right are the settings of whatever is selected.

The report template designer
Figure 4.2 The report template designer
  1. 1The template’s name
  2. 2Make it the form’s default report
  3. 3The form’s fields — click one to copy its name
  4. 4Elements to place on the page: text, image, table, lines, shapes, codes
  5. 5Settings of the selected element
  6. 6Or let AI draft the layout
  7. 7Save the template
  • Fields lists every value a report can show: the form's own questions, and details of the work order, the submission, the submitter and lab results.
  • Samples offers ready-made layouts — a blank A4 page, an invoice, a certificate. Choosing one replaces everything on the canvas.
  • Base PDF starts the page from a PDF of your own, such as your letterhead.
  • The elements include text, images, tables, lines and shapes, check boxes, dates, QR codes and barcodes.

4.3 Placing an answer on the page#

Every element on the page has a Name. When the name matches a field, the report fills the element with that field's answer.

  1. Drag the text element from the edge of the canvas onto the page.
  2. In the settings on the right, start typing in Name. aQRate lists the fields that suit a text box.
  3. Pick the field — here, Site name. The box is now bound to that answer.
  4. Drag the box into place, or type exact positions and sizes under X, Y, Width and Height.
Binding a text box to a field
Figure 4.3 Binding a text box to a field
  1. 1Drag a text box onto the page
  2. 2The new box, selected
  3. 3Start typing its Name…
  4. 4…and pick the form field — its answer will fill the box

Fixed text#

Labels and titles are the same on every report. Place a text box, give it any name, and untick Editable. Then double-click the box on the page and type the text.

4.4 Finishing the layout#

Our inspection report has a title, and a label beside each answer. Give the template a name and a short description, and turn on Use this one by default so it is the report this form uses unless you choose another. Then click Save.

The finished layout
Figure 4.4 The finished layout
  1. 1Fixed text — the same on every report
  2. 2A label
  3. 3The answer to Site condition
  4. 4The form’s default report
  5. 5Save

The template now appears on the form's report templates page, marked Default.

The saved template
Figure 4.5 The saved template
  1. 1The default template of this form
  2. 2Change the design
  3. 3Try it with real data
  4. 4Add pages of the submission’s photos
  5. 5The last reports made from this form
  • Edit reopens the designer.
  • Test previews the report with real or made-up data.
  • Photos adds pages of the submission's photos to the report.
  • The three-dot menu holds the rest, including making another template the default.

4.5 Previewing with real data#

Before anyone relies on a template, try it:

  1. Click Test on the template.
  2. Choose A real submission, and pick one from the list.
  3. Click Make a preview. The PDF appears on the right; Download saves a copy.
The report, filled with a real submission
Figure 4.6 The report, filled with a real submission
  1. 1Preview with a real submission
  2. 2Choose which one
  3. 3Make the preview
  4. 4The report, filled with that submission’s answers

4.6 Word-style templates#

To start one, click New template on the form's report templates page and choose Word-style.

Choosing the kind of template
Figure 4.7 Choosing the kind of template
  1. 1Fields placed on a fixed page
  2. 2Written like a document; also downloads as Word

Writing the template#

The page sits in the middle, under a ribbon like a word processor's. Home holds fonts, paragraphs and styles. Insert adds tables, images, links, page breaks, headers and footers, page numbers, QR codes and barcodes. Layout sets the paper, the margins, a letterhead and the colours. Data repeats a table or a section for each row of a list, or shows a part only when a condition holds. View zooms and opens a PDF preview beside the page.

The Word-style designer
Figure 4.8 The Word-style designer
  1. 1The ribbon: Home, Insert, Layout, Data, View
  2. 2Fields, elements and blocks to drag onto the page
  3. 3The page
  4. 4Fill it with a real submission
  5. 5Download as Word or PDF

The Insert column on the left lists what you can add:

  • Fields: each answer on the form, the submission's details, the inspector, certificates and lab results. A field prints that submission's value.
  • Elements: tables, images, lines, boxes, check boxes and codes.
  • Blocks: ready-made sections, such as Report title, Form answers, Site photos, Location, Work order summary, Signatures and Inspector & sign-off.

Drag an item onto the page, double-click it, or click its + to put it where the cursor is. On the page itself, type / to insert anything, or { to insert a field. The template above has a Report title block and a Form answers block, which prints one row for every answered question.

Blocks gallery shows every block filled with one of the form's submissions, so you can see a block before you add it. A block the form has no data for says so.

The blocks gallery
Figure 4.9 The blocks gallery

Type the template's name in the box at the top and click Save (Ctrl+S).

Previewing it#

Preview with data fills the template with a submission's answers, read-only. Back to template returns to writing. DOCX and PDF download what is on the page as a Word file or a PDF.

The template, filled with the Riverside submission
Figure 4.10 The template, filled with the Riverside submission
  1. 1Filled with the Riverside submission, read-only

Generate report makes a filled copy you can still change by hand, without touching the template. Going back to the template from that copy asks first, because it discards what you changed in it.

On the form's report templates page, a Word-style template is marked Word. Test prints it with the form's latest submission. Its three-dot menu duplicates it, makes it the form's default, or deletes it.

A Word-style template beside the PDF one
Figure 4.11 A Word-style template beside the PDF one
  1. 1A Word-style template

4.7 Generating a report#

To make the report for a submission, open the submission and click Generate report (Figure 3.7). aQRate uses the template chosen under Reports on the submission, which is the form's default unless you pick another, and prepares the report in the background. Finished reports are listed under Reports on the submission, under Recent reports on the form's report templates page, and in Settings › Reports.

A report made from a Word-style template has both files: Download saves the PDF and Download Word saves the Word file. Administrators can also click Open in editor to change the wording of that one report. Generating it again afterwards asks Replace the edits to this report? first.