1. "Fabrik 4" helpers needed!

    You are invited to join other community members active in coding, maintaining and improving Fabrik. Please visit https://fabrik.help for more information!
    Dismiss Notice

Textarea element

Jan 2, 2014
Textarea element

  • Introduction(top)

    Renders either a simple textarea, or a WYSIWYG editor. Can also be used to create tags, and has options to limit the text input length.



    • Default - The default value that the text area will contain. If eval set to yes this needs to be a PHP expression that returns the default value as a string
    • Eval - Select this if you want the default text to be evaluated as PHP. See : Element default examples


    • Bootstrap class - defines the textarea width
    • Width - Applied for wysiwyg editors. If not using a wysiwyg editor this option only applies to Joomla 2.5 sites, for Joomla 3 sites the Bootstrap class assigns the textarea width.
    • Height - If showing a WYSIWYG text area then this value refers to the height of the editor in pixels, otherwise it refers to the height of the text area in the number of lines.


    • Show label - Choose 'no' to hide the label so that there is no need to leave label empty
    • Placeholder - The grey placeholder text that will be shown when no text entered in the textarea (only applied to non-WYSIWYG text areas)
    • WYSIWYG Editor - If set to yes then a WYSIWYG editor is displayed in the form, if set to no then a simple text area is displayed
      Note: the wysiwyg editor will not load in an ajax opened form, instead the standard textarea is loaded.
    • Extended buttons - Show the Joomla exteneded editor buttons with the editor. e.g. 'page break', 'readmore'

    Limit (top)

    • Show max limit - If yes selected then the user is limited to typing a certain number of characters into the text area (the value of which is defined in the 'Maximum length' field). As the user types a piece of text under the checkbox informs them as to how many characters they have left.
    • Maximum limit - Only applicable when 'show max limit' is set to yes, specifies the maximum number of characters that the user can type into the text area. In the image below we've highlighted the message that updates as you type in the text area
    • Limit type - should the maximum limit count the number of character or words

    Tagify (top)

    • Tagify - If set to yes then the text area content will be split up into tags, each tag separated by a comma. When in the table view the data is shown as a list of links, each link will filter the table's data on the tag's text:
      Each link has the class 'fabrikTag' applied to it - this allows for the tag icons to be shown to the side of the link.
    • Custom tagify URL - If you want to direct to a custom URL then enter it here use the placeholder {tag} in the url. This will be replaced with the current tag If left blank then when a tag is clicked on the current url will be reloaded with &tag=value appended

    Truncate (top)

    • Truncate size - The number of words to show in the table view. If set to 0 all words will be shown If more words exist than the specified truncate size then the extra text will be truncated, but visible as a tooltip when the user hovers their mouse over the truncated text.
    • Show hover text - Should the untruncated text be shown in a tip when you move the cursor over the truncated text
    • Tip location - Where should the tip be shown, in relation to the truncated text


    Please note that textareas follow the filtering rules applied to the user's group in Joomla's global configuration section - see here for the Joomla documentation on textarea filters.
  • Loading...