FormField - Liquid Object Reference - 1.0.0
Object Name | FormField |
Version | 1.0.0 |
Description
An FormField object represents a field that can be submitted in a Form.
Attributes
Attribute | Type | Description |
---|---|---|
data | Object | Returns a custom data object for this object |
errors | FormError | Returns any Errors for this field |
id | String | Returns the id to be used in the Form |
name | String | Returns the name to be used in the Form |
original_value | String | Returns the current database value |
required? | Boolean | Returns true if the field is required |
value | String | Returns the submitted form value if any, otherwise returns the original value |
Objects that return FormFields
Back to Liquid Reference for 1.0.0
Back to Documentation