Multilingual Text Area (Multiple Lines)

Overview #

Provides a set of textarea boxes for data entry. One textarea box for each language.

Field Type Parameters: #

  1. Text Editor (optional) – Select the type of text editor for input.
    • (Default. No Editor)
    • rich – (Rich Text Editor)
  2. Spell Checker (optional) – Enable or disable spell checking for the textarea.
    • (No – default)
    • spellcheck: Yes
  3. Maximum length (optional) – Select the maximum length for the textarea input. The actual maximum length is determined by the database column type (e.g., TINYTEXT, TEXT, MEDIUMTEXT, LONGTEXT).
    • tiny – (Up to 255 Bytes – 63 characters (TINYTEXT). TINYTEXT can store up to 63 Unicode characters, i.e., 255 bytes. Suitable for short comments, captions, titles, etc..)
    • (Default. Up to 64KB – 16,383 characters (TEXT). TEXT can store up to 16,383 Unicode characters, i.e., 64KB. Suitable for summaries of articles, short notices, captions, etc..)
    • medium – (Up to 16MB – 4.2 million characters (MEDIUMTEXT). MEDIUMTEXT can store up to 4,194,303 Unicode characters, i.e., 16MB. Suitable for larger text strings like books, research papers, and code backup..)
    • long – (Up to 4GB – 10.7 billion characters (LONGTEXT). LONGTEXT can store up to 1,073,741,822 Unicode characters, i.e., 4GB. Suitable for storing extensive text such as books, long articles, etc..)

Value Processing Parameters: #

Basic usage:

{{ FieldName }}

Usage with parameters:

{{ FieldName(Limit Output, Length, Clean Braces, Clean Quotes, Language) }}
  1. Limit Output (optional) – Limits the output text: first number of characters, first number of words, or returns the link to the first image found in the text.
    • (Default. Returns text as it is)
    • chars – (Returns first number of characters from trimmed, sanitized text with HTML tags stripped.)
    • words – (Returns first number of words from trimmed, sanitized text with HTML tags stripped.)
    • firstimage – (Returns the link to the first image found in the text.)
  2. Length (optional) – Number of characters or words to limit the output.
    • Default:
    • Min: 1
    • Max: 1024
  3. Clean Braces (optional) – Remove all braces from the text to prevent interference from content plugins.
    • (No – default)
    • true: Yes
  4. Clean Quotes (optional) – Remove all quotes from the text.
    • (No – default)
    • true: Yes
  5. Language (optional) – Specify the language. If not specified, the default front-end language will be used.

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) }}
  1. CSS Class (optional) – Name or names of CSS class(s).
  2. Attributes (optional) – Optional attributes like: disabled, onclick, onchange etc.

What are your feelings

Leave a Reply

Updated on January 9, 2025