Form field are used to gather data from user. Form field share following properties
- Label => Label users see
- Name => Field Name
- Is Required => If value is Required
- Is Read Only => If field only displays value
- Display Condition => Used to evaluate if field should be shown
- Edit Condition => Used to evaluate if field can be edited
- Is Hidden => If true, Field is not displayed
- Is Custom => True for fields with custom expression
- Data Type => Type of underling data
- Type => Form field can be any one of the following documented types
Text Field
Text Field are primarly used for text/string input.
Number/Numeric Field
used for number input
Support following additional properties
- Minimum Value
- Maximum Value
- Round To
Date Field
used for date input
Boolean/Checkbox Field
check box for yes/no type of input
Select List Field
List of pre-defined values
Support following additional properties
- List Values => List of values to show
Picker Field
List of items from database
Support following additional properties
- Model => Model to display values from
- Key Field => Field to save in FK
- Display Field => Field to display
- Data Fields => Additional fields to set values from lookup
- Save To Field => Singular field to save additional value
- Filter => Used for filtering lookup data set
- Field Expression => Not Implemented
Multi Line Text/TextArea Field
used for multi line text input
Support following additional properties
- Rows
- Cols
- Max length
Photo Field
used for display of images
Auto Complete Field
List of items from database with suggest as you type
Support following additional properties
- Model => Model to display values from
- Key Field => Field to save in FK
- Display Field => Field to display
- Data Fields => Additional fields to set values from lookup
- Save To Field => Singular field to save additional value
- Filter => Used for filtering lookup data set
- Field Expression => Not Implemented
Hidden Field
used for hidden input field