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
}public record FormStep(
string name,
string label,
FormFieldKind kind,
bool required,
string? dateFormat,
FormOption[] options,
uint page,
DisplayRect rect
)pub struct FormStep {
pub name: String,
pub label: String,
pub kind: FormFieldKind,
pub required: bool,
pub date_format: Option<String>,
pub options: Vec<FormOption>,
pub page: u32,
pub rect: DisplayRect,
}Fields
| Field | Type | Description |
|---|---|---|
name | String | the field's full name; every widget with it gets the answer |
label | String | the question to show: the file's own words (/TU), else the name |
kind | FormFieldKind | No description yet. |
required | bool | No description yet. |
date_format | Option<String> | a date field's pattern ("dd.mm.yyyy"), for a calendar beside the text |
options | Vec<FormOption> | radio: one per button (value = what it writes); choice: the list; checkbox: empty (on or off) |
page | u32 | where to look: the first widget's page and box |
rect | DisplayRect | No description yet. |
Used by
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.