1. If you update to Joomla 3.8.10, please make sure that you either do a full GitHub update of Fabrik, or disable caching for your lists (in the Advanced settings) or turn off Joomla's System Cache setting. A change in Joomla's cache code in 3.8.10 required a fix in Fabrik, which will be rolled in to the next release, but is currently only available in GitHub.
    Dismiss Notice
  2. We will be performing an update of XenForo (the forum software use on this site) this afternoon, Fri 8/17/2018. The forums will be unavailable for a (hopefully!) short time.
    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:

    PHP:

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