FormField - Liquid Object Reference - 0.10.11
Object Name | FormField |
Version | 0.10.11 |
Description
An FormField object represents a field that can be submitted in a Form.
Attributes
Attribute | Type | Description |
---|---|---|
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 0.10.11
Back to Documentation