⟵ hearthere ⟶
  • Training course
  • Creating simple tables and fields
  • Codes base level
  • Selects and links between tables
  • Select field creation and how this field works
  • Code for generating a select
  • Different select a content depending on other fields
  • Strikethrough selects and what it may be caused by
  • Single or multiple select
  • How do I replace the id with a different identifier?
  • How do I take the value of a select?
  • Additional information in the context panel for Select and sections in the drop-down menu
  • Editing a source
  • Table settings basic level
  • Prefilters base level
  • Conditional formatting basic level
  • Action codes base level
  • Using pop-up windows
  • Cycles base level
  • Roles and users on the web
  • Codes advanced level
  • Action codes advanced level
  • Prefilters advanced level
  • Field and table settings advanced level
  • Cycles advanced level
  • Formatting advanced level
  • Select-Tree
  • Executing a scheduled action code
  • Printing and emailing
  • Notifications
  • API interaction
  • Adaptivity and Sections
  • Editing a source

    selects_table

    What parameter should be enabled in the field to be able to add or change variants of selects in the source table?

    If you enable select table for editing, users who have access to the source table will be able to add and edit select displays directly from the field, without navigating to the source table.

    If you use bfield in the select code, specify its name in BaseField different from id.

    For multiselects, panels for all selected items will be shown sequentially.

    Can I set different source tables depending on other fields?

    If you have a select that takes mappings from different tables depending on conditions, you need to write the reference to edit the source table in the select panel for modification:


    =:
    if(condition: #cond_field = 1; then: $t1; else: $t2) t1: linkToPanel(table: 'table_1'; id: $#nfv) t2: linkToPanel(table: 'table_2'; id: $#nfv)

    You can also use this parameter to pass pre-filled values to the opened panel:


    =:
    linkToPanel(table: 'table'; id: $#nfv; field: 'name' = #value)