Returns the list of fields. Example: country,city,phone
Basic usage:
{{ fields.list }}
Usage with parameters:
{{ fields.list(Field attribute) }}
Parameters:
Field attribute
(optional) – Select one attribute.
- fieldname – (Field Name)
- title – (Title. Language dependable.)
- description – (Description. Language dependable.)
- type – (Type)
- typeparams – (Type Params)
- isrequired – (Is Required)
- isdisabled – (Is Disabled)
- defaultvalue – (Default Value)
- valuerule – (Value Rule)
- valuerulecaption – (Value Rule Caption)
Example:
{{ fields.list("fieldname") }}
Leave a Reply
You must be logged in to post a comment.