• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

Display text element

  • Views Views: 23,629
  • 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
  • The Display element is used to display (normally) fixed text. It. It simply displays the element label (if set to show) and the "Default" text without any associated input field.

    Settings​


    upload_2021-5-18_17-33-13.png


    Tip: If you need HTML formatted text in the label then go to Fabrik "Options" -> Forms and select 'yes' for the 'Use WYSIWYG editor for element labels' option (Attention: this will enable a WYSIWYG editor field for the labels of ALL Elements).

    Options:
    • Default - The text to populate the element with. If the eval option is selected then this should contain a PHP statement. It's shown in new and in existing records (never pulled from the database).

      Caution: If the display field is part of a repeating group, Placeholders will not work as expected in evals. The placeholder will return an array with the values of all rows and not just the value of the current row.
      As an alternative the calc element may be used.
    • Eval - evaluate the default value as a PHP function. Element default examples
    More:
    • Show label - Should the form show the label as well as the display text

    Making the text translatable​

    To make text that appears in the Display element translatable:
    • enter your translation string into the DEFAULT box
    • Set EVAL to NO
    • enter your translation string and text into the Joomla language overrides area
Back
Top