Textarea element

  • Views Views: 17,131
  • Last updated Last updated:

Navigation

      Access element (+)
      Birthday element
      Button element
      Calculation element
      Captcha element
      Checkbox element
      Colour Picker element
      Count element (+)
      Database join element
      Date element
      Digg element
      Display text element
      Dropdown element
      Facebook Like element
      Field element
      File Upload element
      Folder element
      Google Map element
      Image element
         Image databese join
      Internal id element
      IP element
      J!Date element
      Kaltura element
      Link element
      Notes element
      OpenStreetMap element
      Picklist element
      Radio Button element
      Rating element
      Sequence element
      Slider element
      Tags element
      Textarea element
      Thumbs element
      Time element
      Timer element
      Timestamp element
      Total element
      User element
      User group element
      Video element
      View level element
      YesNo element
      Youtube element
      Akismet validation
      Is Email validation
      Is Not validation
      Is Numeric validation
      Not empty validation
      PHP validation
      Rsa id
  • Introduction​

    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.

    Options​

    textarea-options.png


    • 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
    Layout​
    textarea-layout.png

    • 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.
    Advanced​
    textarea-advanced.png

    • 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​

    textarea-limit.png

    • 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
      Textarea-charsleft.png
    • Limit type - should the maximum limit count the number of character or words
    Tagify​

    textarea-tagify.png

    • 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.
      Textarea-tagify.png
    • 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​

    textarea-truncate.png

    • 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

    Filtering​

    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.
Back
Top