Skip to content

Form Builder

The Form Builder lets you create customizable form templates for each module (Deviations, CAPAs, Audits). All three module types are managed from a single unified Form Builder section with a Form Type selector.

  1. On the left sidebar, select Workspace settings.
  2. In the Workspace settings sidebar under Templates & Forms, select Form Builder.
  3. Use the Form Type buttons at the top to switch between:
    • Deviation form templates
    • CAPA form templates
    • Audit form templates

The template list displays all existing form templates for the selected type, showing their name, description, whether they are the default, and the available actions (preview, download, edit, clone, set as default, delete).

When Deviation or CAPA is selected with the Form Type buttons, a Basic Settings card appears above the template list. It is not shown for Audit.

Type Setting Default Range
Deviation Default Due By Days 30 days 1-365
CAPA Default Action Due Days 7 days 1-365

This value seeds a due date when the record does not set one explicitly: a deviation’s due date defaults to the date it was reported (or detected) plus this many days, and the default action created for a CAPA when it is approved from draft is due this many days after it is created. Changing the setting only affects records created afterward — it does not retroactively move the due date on existing records.

For Deviation, a second card, Lot and batch rule, sits below Basic Settings. Tick the severities for which a deviation must carry a lot number or a batch number (at least one of the two), then select Save rule. A deviation of a ticked severity cannot be reported, imported or edited without one, and the message says so. With nothing ticked, both stay optional. The change is recorded in the audit trail.

  1. Open the Form Builder and select Deviation or CAPA with the Form Type buttons.
  2. In the Basic Settings card, enter a number of days (1-365).
  3. Select Save Settings.

If the current value cannot be loaded, for example because your role is not allowed to read the setting, the card says so and the field and Save Settings are disabled, so a default is never saved over a value you could not see. Ask a workspace administrator to change it.

  1. Above the template list, select New Template.
  2. Enter a Template Name (required).
  3. Enter a Description that explains the template’s purpose.
  4. Check Set as Default to use this template automatically when users create new records. Saving is refused while another template of the same type is already the default; unset that one first.
  5. Leave Active checked. Only active templates are listed and used. A default template must be active: saving a template that is the default but not active is refused, so untick Set as Default (or choose another default) before deactivating it.
  6. Add sections and fields as described below.
  7. Select Create Template.

Sections group related fields under a heading.

  1. In the template editor, select Add Section.
  2. Enter the section name in Section Name (the heading users see).
  3. Enter an optional Section Description to display below the heading.
  4. Check Required Section if users must complete this section.

Sections appear to users in the order they are listed in the editor. The editor does not offer reordering, so add sections in the order you want them shown.

  1. Within a section, select Add Field, then choose the field type with the field type selector.
  2. Configure the field properties:
Property Description
Field type The type of input control (see supported types below)
Field Name (key) Internal field identifier used by the API
Field Label Display label shown to users
Field Description Optional helper text displayed with the field
Required Whether users must fill in this field
Visible Whether the field is shown
AI Suggestion Adds a Suggest button to the field; see AI suggestions on a field
Type-specific settings Options (one per line) for dropdown and multi-select fields; record type and Allow more than one record for Linked Record fields

Fields appear in the order they are listed in the section.

Field Type Description Settings in the builder
text Single-line text input –
textarea Multi-line text area –
select Dropdown menu Options (one per line)
multi_select Multi-select list (more than one choice) Options (one per line)
number Numeric input –
date Date picker –
datetime Date and time picker –
boolean Checkbox (true/false) –
document_picker Multi-select document chooser with search –
capa_picker Multi-select CAPA chooser with search and status filters (open, in_progress, closed, draft) –
deviation_picker Multi-select deviation chooser with search –
entity_picker (Linked Record) Links one or more records of a chosen type, searched within what the person may view Record type (required), Allow more than one record
image Image upload with drag-and-drop, preview, and captions –
file File upload –

The document picker field provides a search input to filter documents by title or status, a multi-select list showing matching documents, and selected document tags with individual remove buttons.

The CAPA picker field provides a search input with debounced API-powered search (searches by ID, title, status, or description), status filter checkboxes (open, in_progress, closed, draft), a multi-select list showing matching CAPAs with creation date and linked deviation count, and selected CAPA tags with individual remove buttons.

A Linked Record field links the record being filled in to other records in your workspace. When you add one, choose its Record type:

Record type Who can find and link it
Document Anyone who can read documents. Drafts appear only to their author, QA and administrators.
Deviation Anyone who can read deviations
CAPA Anyone who can read CAPAs
Change control Administrators, plus anyone who requested or is assigned to that change – the same changes their Change Control register lists (Growth and Enterprise plans)
Equipment Anyone who can read equipment (Growth and Enterprise plans)
Supplier Anyone who can read suppliers (Growth and Enterprise plans)
Complaint Anyone who can read complaints (Growth and Enterprise plans)
Audit Administrators, plus anyone who created, leads or is the contact for that audit
User Any signed-in member of your workspace (active users only)

Check Allow more than one record to let people link several records. Otherwise the field holds exactly one. A linked-record field cannot be saved without a record type.

Filling in the field. People type to search by number, title or name. The search waits until they pause typing, and it only ever returns records from your own workspace that they are allowed to view. If your plan does not include a record type, they see an upgrade message instead. If their role cannot read that type, they see a permission message.

Saving. The link is checked again when the form is saved. A record that does not exist, belongs to another workspace, or is not visible to the person saving is refused, and nothing is saved. The record’s number and title at that moment are stored with the link as history.

Reading it back. On the record page, each linked record the reader can open appears as a link showing its current number and title. A record that has since been deleted, or that the reader is not allowed to see, shows as Linked record unavailable, with nothing else about it. Exports and the audit trail show linked records by type and number (for example CAPA #12), never by title.

The image upload field provides a drag-and-drop zone for image files, click-to-browse file selection (the file browser offers jpg, jpeg, png and gif files), multiple files per field, an image preview grid with thumbnails, optional caption input per image, and individual image removal.

A file field’s file browser offers pdf, doc and docx files, and several files can be added at a time. The builder has no controls for these file types. Every uploaded file is checked on the server, as for any other upload.

  1. On the template row, select Edit.
  2. Modify the template name, description, sections, or fields as needed. Use the trash icon beside a section or field to remove it.
  3. Select Update Template.

Everything a custom field collects is stored on the record and shown back in three places.

On the record page. Deviation and CAPA records show a Custom fields section, titled with the name of the form template the record was created under. Fields appear under their own section headings, in the order the template defines, with the label you gave them.

  • A field the template asks for but the record left blank reads Not answered, rather than being hidden. An auditor can tell the difference between a question that was skipped and one that was never asked.
  • An asterisk marks a field the template requires as it stands now. A field you make required later shows the asterisk on older records too, which does not mean those records skipped a mandatory question.
  • Answers to file, image and picker fields read as record references (#12, #13), not as values someone typed. Linked Record fields show each record as a link instead – see Linked record.

In the register exports. The CSV and Excel exports for Deviations and CAPAs append one column per custom field, after the standard columns. The column set comes from the templates actually used by the records being exported, so tenants with several templates get every column that applies. Both the Deviation and the CAPA PDF include them too, but cap them at six – a PDF is a summary, and a page of thirty narrow columns is not readable. The CAPA PDF keeps its existing “CAPA ID” / “Title” / “Status” / “Created” / “Due Date” headers rather than switching to the CSV/Excel column names, so a saved export template does not change shape. Use CSV or Excel when you need every field.

In the audit trail. Creating a Deviation or CAPA through a custom form records the answers in the trail alongside the standard fields, grouped under custom_form_fields. Editing a Deviation’s custom answers (PUT /deviations/{id}/form-data) records the same way, with both the prior and the new values, so the trail shows what changed and not just that it did.

Deleting a field from a template does not delete the answers already recorded against it. Records created before the change show those answers under Recorded under fields since removed, so nothing an operator entered disappears from a record after the fact.

Renaming a field’s label changes how it reads on every record, including older ones – the record always displays the label the template carries now.

Changing a field’s type after records exist does not reinterpret older answers – the value is shown as it was stored. The same applies to narrowing a dropdown’s options: an answer that is no longer an offered choice still displays.

  1. On the template row, select Clone.
  2. A copy of the template is created with “(Copy)” added to the name (for example, “Original Template (Copy)”). The copy is never the default.
  3. Select Edit on the cloned template to customize it.
  1. On the template row, select the Set as default (check) icon. It is not shown on the template that is already the default.
  2. The selected template becomes the default for its module.

Only one template per module can be the default at a time, and an inactive template cannot be made the default. The default template is automatically used when users create new records in the corresponding module.

  1. On the template row, select the Preview icon (eye icon).
  2. Review the layout of the form in the preview, with its sections and fields. Text, dropdown, multi-select and checkbox fields are drawn as users see them; picker, image, file and Linked Record fields appear as placeholders. The preview is read-only.
  3. Select Close to return to the template list.
  1. On the template row, select the Delete (trash) icon.
  2. Confirm in the Delete Template dialog.
  1. On the template row, select the Download icon.
  2. The template saves to your computer as a Word document (.docx).

Use the downloaded document for review, documentation, or offline discussion of the form’s layout.

Check AI Suggestion on a text, text area, number, select or multi-select field to give it a Suggest button. The button is not shown on other field types.

AI Suggestion Source Field names the answer the suggestion is mainly based on. It can be the technical name of another field on the same form, or title or description, the fixed fields at the top of the Deviation and CAPA forms. The builder lists the available names as you type. Leave it empty to base the suggestion on every other answer on the form equally.

When someone filling in the form selects Suggest:

  1. If a source field is set and still empty, the button stays disabled and asks them to fill that field in first.
  2. Otherwise the form’s other answers are sent to the AI. Linked-record, file and image answers are never sent.
  3. The proposed value appears below the field with a one-line reason and a confidence level. For a select or multi-select field, the proposal is always one of the field’s own options.
  4. Nothing is filled in until they select Accept. Dismiss leaves the field as it was. Either way, they can still change the value before saving.

Who can use it. Administrators and QA team members can request suggestions. Other roles do not see the Suggest button.

Limits. Suggestions count toward your workspace’s monthly AI usage, like every other AI feature. If AI is turned off for your workspace, the button is disabled with an explanation. If the usage limit is reached, or the AI does not answer in time, the person sees a message saying so, and the field is left unchanged.

Separately, the deviation form has form-wide AI help (severity classification and similar-deviation matches as you type). See AI Assistant – AI suggestions on other forms.

Practical example: Build a custom deviation form for line clearance failures

Section titled “Practical example: Build a custom deviation form for line clearance failures”

Your manufacturing site needs a deviation form specifically for line clearance failures, with fields that differ from general deviations.

  1. Open the Form Builder and select Deviation with the Form Type buttons.
  2. Select New Template and name it “Line Clearance Failure”.
  3. Add a section named “Failure Details” and tick Required Section:
    • Add a select field labeled “Production Line” with options: Line A, Line B, Line C, Packaging Line 1.
    • Add a select field labeled “Failure Type” with options: Residue Found, Wrong Label, Cross-Contamination, Equipment Not Cleared.
    • Add a textarea field labeled “Description of Finding” (required).
    • Add an image field labeled “Photographic Evidence”.
  4. Add a section named “Impact Assessment” and tick Required Section:
    • Add a select field labeled “Batch Impact” with options: Single Batch, Multiple Batches, No Batch Impact.
    • Add a document_picker field labeled “Affected SOPs” to link relevant procedures.
    • Add a boolean field labeled “Product Release Hold Required”.
  5. Optionally add a textarea field labeled “Probable Cause”, check AI Suggestion on it, and set its source field to the “Description of Finding” field’s name. Operators can then ask for a suggested cause based on what they described and accept or ignore it (see AI suggestions on a field).
  6. Optionally add a Linked Record field labeled “Related CAPA” with record type CAPA, so operators can link an existing CAPA (see Linked record).
  7. Leave Active ticked and select Create Template.

Now when operators report a line clearance failure, they see a focused form with exactly the fields they need – reducing data entry time and improving consistency.

Action Required Permission
View form templates Admin role
Create, edit, or delete templates Admin role
Set default template Admin role
Request an AI suggestion on a field Admin or QA_Team role

The Form Builder tab is available on the Growth and Enterprise plans.