⟵ hearthere ⟶
  • Quick start
  • Install Totum
  • Updating
  • Optimization
  • Backups
  • bin/totum
  • Basics for users
  • Interface and Layout
  • Tables and their parameters
  • Fields and their parameters
  • Prefilter
  • Syntax
  • Code, actions, formatting
  • Relational associations
  • Calculation order and calculation units
  • Auto-complete calculations and timing
  • Duplicate rows and cycles
  • Comparisons
  • Functions
  • Debugging
  • Print and CSV
  • Roles and users
  • Notifications
  • System tables
  • [PRO] Crons
  • [PRO] Daemons
  • [PRO] API
  • [PRO] Exporting and importing tables
  • [PRO] Anonymous tables
  • [PRO] External Forms
  • [PRO] LDAP AD
  • [PRO] MeiliSearch
  • [PRO] Only Office
  • [PRO] Trees
  • [PRO] Dynamic fields
  • [PRO] File versions
  • [PRO] 2FA
  • [PRO] Superlang
  • [PRO] Auth Tokens
  • [PRO] List-unsubscribe
  • [PRO] Databases
  • [PRO] Custom CSS
  • [PRO] Custom docs
  • [PRO] Profiler
  • [PRO] Connecting functions
  • [SRV] Installation and Connection
  • [SRV] Export, PDF, Upload, and Preview
  • [SRV] XLSX/DOCX Generators
  • Auto-Filling Tables

    Rows of tables with a tabular unit of recalculation can be filled automatically based on conditions.

    To do this, the first sort field of the row part should be set to the field with nameinsert.

    This field must contain any list. Rows will be created in the number of values in the list. Each row in the insert field will be populated with a value from the list. The values will be placed in the order they appear in the list.

    The list must contain only unique values, not containing null or "" (empty string).

    If, as a result of recalculation, the list in insert has changed and:

    • New values were added — rows will be added to the end of the table.

    • Values were removed:

      • If there were no changes in the removed row — the row will be deleted.
      • If there were changes in the removed row — the row will remain but will be marked with strikethrough.
    • Values were changed — in this case, the change is processed as a combination of deletion and addition.