Skip to main content

Form Field Types & Validation (RegEx, min/max length)

Learn how form fields work in GetAccept, including text, dropdown, email, date, signature fields, and validation rules like required fields, RegEx, and min/max length.

Updated this week

Form fields allow you to collect structured information from recipients inside a document. They support validation rules to ensure accuracy, consistency, and compliance. This article explains the different field types available in the GetAccept Editor and how validation works, including required fields, minimum/maximum length, and RegEx logic.


1. Form Field Types

Form fields can be added inside Editor blocks and assigned to specific recipients. Each field is interactive and appears during the signing or data-entry process.

Text Field

A free-input text box used for names, titles, comments, or short details.
Supports:

  • Required field

  • Min/max character length

  • Regular expression (RegEx) validation


Dropdown Field

A predefined list of options the recipient can choose from.
Useful for standardizing responses such as departments, product types, or contract variations.
Supports:

  • Required field


Checkbox

A simple binary choice (checked or unchecked).
Supports:

  • Required selection


Email Field

A field specifically intended for email input.
Automatically validates:

  • Basic email format (contains @ and domain)
    Supports:

  • Required field


Date Field

A selection field for choosing a date.
Supports:

  • Required field

  • Date format is automatically enforced


Signature Field

A field where the assigned signer applies their signature.
Supports:

  • Required field

  • Assignment to a specific signer
    Signature fields are included in the audit trail and signing certificate.


2. Assigning Fields to Recipients

Each form field must be assigned to the correct recipient.
Assignments determine:

  • Who completes the field

  • When the field appears in the signing flow

  • Which role is responsible for providing information

Fields for viewers or internal approvers are not displayed to external signers.


3. Validation Types

Validation ensures the information entered is correct before the recipient can continue.
There are three built-in validation methods:


Required Fields

A required field must be completed before the recipient can progress.
Applicable to all form field types.

Use required fields when:

  • The data is legally or operationally necessary

  • Missing information would delay processing

  • Compliance rules apply


Min / Max Length (Text Fields Only)

Allows you to control how short or long a response can be.

Min length
Ensures the response reaches a minimum number of characters.
Useful for:

  • Names

  • Descriptions

  • ID formats

Max length
Prevents overly long input.
Useful for:

  • Numeric codes

  • Company IDs

  • Restricted-input fields

If the recipient enters content outside the allowed range, they must correct it before continuing.


Regular Expression (RegEx Validation)

RegEx validation enforces a specific format in a text field.
It is the most precise validation method and is ideal for structured data.

Common use cases:

  • Format validation for IDs or reference numbers

  • Postal codes

  • Country-specific identification numbers

  • Specific text patterns (e.g., “EMP-12345”)

Examples:

  • Numbers only: ^[0-9]+$

  • Letters only: ^[A-Za-z]+$

  • Formatted ID: ^[A-Z]{3}-[0-9]{4}$

  • Five-digit postal code: ^[0-9]{5}$

If the input does not match the RegEx, the user cannot proceed until corrected.


4. When to Use Validation

Validation is essential when:

  • Information must follow a strict pattern (e.g., HR forms, employee IDs)

  • You want to prevent common mistakes

  • Contracts require complete and accurate data

  • CRM or backend workflows depend on consistent field formats

Validation improves data quality and reduces back-and-forth with the signer.


5. Behavior in the Signing Flow

During signing:

  • Required fields must be completed

  • Invalid inputs trigger clear guidance to fix the value

  • Fields assigned to the signer appear in order with the rest of their signing fields

  • Fields assigned to other roles remain hidden

All completed fields appear in the final signed document and audit trail.


Summary

GetAccept’s form fields let you collect structured, validated information inside contracts and proposals.
You can use:

  • Text fields with RegEx and length constraints

  • Dropdowns, checkboxes, email, and date fields with required logic

  • Signature fields for assigned signers

Validation improves accuracy, ensures compliance, and creates consistent data for downstream workflows.

Did this answer your question?