FormField - Liquid Object Reference
On this page
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 |