zenario_group:
    key:
        id: ''
    identifier:
        css_class: zenario_group
        label: Group ID
    title: Creating a group
    max_height: 240
    hide_tab_bar: true
    tabs:
        details:
            label: Details
            edit_mode:
                enabled: true
                priv: _PRIV_MANAGE_GROUP
            fields:
                name:
                    label: 'Name:'
                    type: text
                    onkeyup: |
                        if (!zenarioAB.tuix.key.id) {
                            zenario.get('db_column').value =
                                this.value.toLowerCase().replace(/[\s-]+/g, '_').replace(/[^a-z_0-9]/g, '');
                        }
                    validation:
                        required: Please enter a name.
                    maxlength: 64
                db_column:
                    label: 'Code name:'
                    type: text
                    side_note: This will be used for the name of the column in the database.
                    validation:
                        required: Please enter a code name.
                    maxlength: 255
