Control Input Types in Dynamic Forms
FormFieldType defines the HTML input type and behavior of a FormField in the EveryDataStore Smart Form Builder. Together with FormFieldSettings, it determines how the form element is rendered within a RecordSet-Form.
These types are predefined and automatically created during the initial installation of the EveryDataStore software. They allow developers and non-technical users to configure fields based on business requirements, without writing code.
The following FormFieldTypes are currently supported:
- TextField: A simple input field. Depending on the configuration, it can accept text, date, time, datetime, currency, units, numbers, email, phone numbers, colors, or passwords.
- TextareaField: A multiline text field for longer input.
- CheckboxField: A checkbox field that allows multiple selectable values (e.g., PHP, Java, Python, JavaScript, C++).
- DropdownField: A dropdown field that allows selection of one or more values from a list (e.g., PHP, Java, Python, JavaScript, C++).
- ReadOnlyField: A read-only text field that cannot be edited by the user.
- RelationField: A special data picker that links to another RecordSet or Core model (such as Member, Group, or Menu). It enables users to select related entries (has-one or has-many relationships) from the internal RecordSet.
With FormFieldType, the Smart Form Builder becomes a highly flexible and powerful tool for generating dynamic forms that adapt to a wide range of use cases.
Name |
FormFieldType |
||
---|---|---|---|
Properties |
Name |
Type |
Description |
Slug |
Varchar(110) |
EveryDataStore-ID |
|
Title |
Varchar(100) |
Name of the FieldType |
|
FontIconCls |
Varchar(20) |
Font awesome icon class e.g. fa fa-upload |
|
Relations (has many) |