Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Data Field

Data Element Grooper.Core

Represents a single extracted or user-entered value within a document's data model.

Remarks

Overview

A Data Field defines a discrete unit of data to be extracted, validated, or entered by a user. It is the fundamental building block of a document schema in Grooper, used to capture values such as "Invoice Number", "Date", or "Total Amount".

Data Fields are added as children of a Data Model or Data Section, and can be configured with extraction logic, validation rules, formatting, and UI presentation options.

Configuration and Usage

  • Extraction:
    Assign a 'Value Extractor' to define how the field's value is located in the document. This can be a regular expression, list match, OMR, barcode, or reference to another extractor.
  • Validation:
    Use the 'Required', 'IsRequired', and 'IsValid' properties to enforce data presence and correctness. Custom validation expressions and error messages can be specified.
  • Formatting and Appearance:
    Control how the field appears in the UI using properties such as 'Display Label', 'Placeholder', 'Alignment', 'Display Width', and 'CSS Class'.
  • Choice Lists:
    Restrict or suggest valid values using the 'List Values' property, which can reference a Lexicon or be populated dynamically.
  • Default and Calculated Values:
    Use 'Default Value' and 'Calculated Value' expressions to pre-populate or compute field values based on other data.
  • User Experience:
    Enable features like 'Sticky' (carry value across documents), 'ReadOnly', 'AutoComplete', and 'Tooltip' to guide and streamline data entry.

Best Practices

  • Use Data Fields for all discrete data points to ensure consistency and enable validation.
  • Leverage property overrides in descendant Content Types to adapt fields for specialized document types.
  • Combine extraction, validation, and UI settings to create robust, user-friendly data entry and review experiences.

For more information, see the documentation for Data Model, Data Section, Value Extractor, and Lexicon.

Properties

NameTypeDescription
General
Import Source String

Used with import operations.. The source element name.

Appearance
Behavior
Expressions
List Settings

Design Tabs

General View properties of this element, along with a preview of its layout in a Data Grid.
Reports View reports for a node.
Tester Test data extraction for a Data Element.
Advanced View or edit advanced details about a node.

Derived Types

There are 1 implementations of Data Field.

Data Column Represents a column in a DataTable, defining how tabular data is extracted, validated, and displayed for each row in a document.

Child Types

See Also

Used By

Notification