Overview #
Provides a text box for data entry.
Field Type Parameters: #
Length
(optional) – Number of characters. Number of characters not bytes.
Value Processing Parameters: #
Basic usage:
{{ FieldName }}
Usage with parameters:
{{ FieldName(Limit Output, Length, Clean Braces, Clean Quotes) }}
Limit Output
(optional) – Limits returning output text, first number of characters or first number of words.Length
(optional) – Number of characters or words.Clean Braces
(optional) – Deletes all braces from the text. (i.e. to avoid Content Plugins running.)Clean Quotes
(optional) – Deletes all quotes from the text.
Example:
{{ FieldName("chars",1,true,true) }}
Pure Value (Unprocessed): #
Example:
{{ FieldName.value }}
Edit Record Parameters: #
Basic usage:
{{ FieldName.edit }}
Usage with parameters:
{{ FieldName.edit(CSS Class, Attributes, Autocomplete) }}
CSS Class
(optional) – Name or names of CSS class(s).Attributes
(optional) – Optional attributes like: disabled, onclick, onchange etc.Autocomplete
(optional) – Generate autocomplete data list using table records
Example:
{{ FieldName.edit("my_CSS_class",onclick='alert(1);',"autocomplete") }}
Leave a Reply
You must be logged in to post a comment.