Skip to Content
AdministrationForm Builders

Form Builders

SeqDesk provides form builders for customizing the data collection forms that researchers interact with. Admins can add fields, organize them into groups (which become wizard steps), set validation rules, and control visibility.

Order Form Builder

At Admin → Form Builder (/admin/form-builder), customize the fields researchers see when creating orders.

How the Wizard is Built

The order creation wizard at /orders/new is constructed dynamically from the form configuration:

  1. Each field group becomes a wizard step
  2. Fields are shown in the step matching their group
  3. Fields without a group appear in an “Additional Details” step
  4. The Samples step always appears (for per-sample fields)
  5. A Review step is always shown last

System Fields

These fields ship with every SeqDesk instance. They can be shown, hidden, or made required, but cannot be deleted:

Per-Order Fields (group: Order Details):

FieldTypeDefault Visibility
Order NameTextVisible
Number of SamplesNumber (1–500)Visible

Per-Order Fields (group: Sequencing Parameters):

FieldTypeDefault Visibility
Sequencing PlatformSelect (Illumina, ONT, PacBio, Ion Torrent, BGI)Visible
Instrument ModelTextVisible
Library StrategySelect (WGS, WXS, RNA-Seq, AMPLICON, etc.)Visible
Library SourceSelect (Genomic, Metagenomic, Transcriptomic, etc.)Visible
Library SelectionSelect (RANDOM, PCR, cDNA, PolyA, etc.)Visible

Per-Sample Fields:

FieldTypeDefault Required
OrganismNCBI taxonomy lookupYes
Sample TitleTextYes
Sample AliasTextNo

Custom Field Types

Add custom fields of these types:

TypeDescription
textSingle-line text input
textareaMulti-line text area
selectSingle-choice dropdown
multiselectMulti-choice dropdown
checkboxBoolean toggle
numberNumeric input with min/max
dateDate picker
emailEmail address field
phonePhone number field
currencyCurrency amount
fundingFunding/grant information (requires funding-info module)
billingBilling/cost center (requires billing-info module)
mixsMIxS metadata field selector (requires mixs-metadata module)
sequencing-techSequencing technology selector (requires sequencing-tech module)
organismNCBI taxonomy lookup (requires ena-sample-fields module)
barcodePer-sample barcode assignment

Field Configuration

For each field, you can set:

  • Label — display name shown to researchers
  • Visible — whether the field appears in the form
  • Required — whether the field must be filled before submission
  • Per-sample — if true, shown as a column in the sample table; if false, shown once per order
  • Admin-only — if true, only visible to facility admins (hidden from researchers)
  • Help text — guidance shown below the field
  • Placeholder — example text inside the empty field
  • Default value — pre-filled when the form loads
  • Validation — regex patterns, min/max values, or AI-powered validation with custom prompts and strictness levels

Field Groups

Fields are organized into groups that become wizard steps:

Group IDDefault NameDescription
group_detailsOrder DetailsBasic order information
group_sequencingSequencing ParametersSequencing technology selection
CustomYour choiceAny additional sections you define

You can create new groups, rename existing ones, and move fields between groups.

Drag-and-Drop Ordering

Fields can be reordered within and between groups using drag-and-drop.

Module Dependencies

Some field types require their corresponding module to be enabled in Admin → Settings. If a module is disabled, fields of that type are automatically hidden from the form regardless of their visibility setting.

ModuleField Types Affected
mixs-metadataMIxS metadata selector
funding-infoFunding fields
billing-infoBilling fields
sequencing-techSequencing technology selector
ena-sample-fieldsOrganism, Sample Title, Sample Alias

Study Form Builder

At Admin → Study Form Builder (/admin/study-form-builder), customize the metadata fields for study creation.

This works similarly to the order form builder but applies to the study creation and editing forms. It is primarily used for:

  • MIxS template configuration
  • Institution-specific metadata fields
  • Mandatory fields per study type

Import/Export

Form configurations can be exported and imported as JSON, making it easy to:

  • Back up your form configuration
  • Copy settings between instances
  • Share configurations with other facilities