1. Fabrik 3.8.1 has been released. It is mostly bug fixes and feature enhancements, but does include two new plugins (push notifications, and the sequence element). As usual we strongly recommend testing the new release on a sandbox if your application is mission critical, and always do an Akeeba backup before updating.
    Dismiss Notice

Internal id element

May 27, 2013
Internal id element
  • The internal ID element is automatically added when you create a new list.

    It renders a hidden field with the current record's numerical id.

    This id auto-increments for each record you add

    In the list's database table this field is also set to be the lists primary key, ensuring that each record has a unique identifier.

    If you wish to create a more readable identifier then you should leave the internal id as it is and create a new calc element.

    Say we want this field to show the values 'application-X' where X is the internal id value then enter the following code into the calc element's 'calc' field:


    return "application-{rowid}";
    Finally, ensure that the 'Only Calc on Save' option is set to NO, and then save your element.