Reference · Record · forms.rs

FormStep Record

No description yet.

struct FormStep {
    var name: String
    var label: String
    var kind: FormFieldKind
    var required: Bool
    var dateFormat: String?
    var options: [FormOption]
    var page: UInt32
    var rect: DisplayRect
}

Fields

FieldTypeDescription
nameStringthe field's full name; every widget with it gets the answer
labelStringthe question to show: the file's own words (/TU), else the name
kindFormFieldKindNo description yet.
requiredboolNo description yet.
date_formatOption<String>a date field's pattern ("dd.mm.yyyy"), for a calendar beside the text
optionsVec<FormOption>radio: one per button (value = what it writes); choice: the list; checkbox: empty (on or off)
pageu32where to look: the first widget's page and box
rectDisplayRectNo description yet.

Used by

form_steps

Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.