fields: {  }
tabs:
    fields:

        ## FORM

        form_css_class:
            label: 'janvince.smallcontactform::lang.settings.form.css_class'
            span: left
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'

        form_success_msg:
            label: 'janvince.smallcontactform::lang.settings.form.success_msg'
            placeholder: 'janvince.smallcontactform::lang.settings.form.success_msg_placeholder'
            span: left
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'

        form_error_msg:
            label: 'janvince.smallcontactform::lang.settings.form.error_msg'
            placeholder: 'janvince.smallcontactform::lang.settings.form.error_msg_placeholder'
            span: right
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'

        form_hide_after_success:
            label: 'janvince.smallcontactform::lang.settings.form.hide_after_success'
            comment: 'janvince.smallcontactform::lang.settings.form.hide_after_success_comment'
            span: left
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'

        form_use_placeholders:
            label: 'janvince.smallcontactform::lang.settings.form.use_placeholders'
            comment: 'janvince.smallcontactform::lang.settings.form.use_placeholders_comment'
            span: left
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'

        form_disable_browser_validation:
            label: 'janvince.smallcontactform::lang.settings.form.disable_browser_validation'
            comment: 'janvince.smallcontactform::lang.settings.form.disable_browser_validation_comment'
            span: left
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'


        section_ajax:
            type: section
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'

        form_allow_ajax:
            label: 'janvince.smallcontactform::lang.settings.form.allow_ajax'
            comment: 'janvince.smallcontactform::lang.settings.form.allow_ajax_comment'
            span: full
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'

        form_allow_confirm_msg:
            label: 'janvince.smallcontactform::lang.settings.form.allow_confirm_msg'
            comment: 'janvince.smallcontactform::lang.settings.form.allow_confirm_msg_comment'
            span: left
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'
            cssClass: field-indent
            trigger:
                action: show
                field: form_allow_ajax
                condition: checked

        form_send_confirm_msg:
            label: 'janvince.smallcontactform::lang.settings.form.send_confirm_msg'
            placeholder: 'janvince.smallcontactform::lang.settings.form.send_confirm_msg_placeholder'
            span: right
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'
            cssClass: field-indent
            trigger:
                action: show
                field: form_allow_ajax
                condition: checked

        section_assets:
            type: section
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'
            trigger:
                action: show
                field: add_assets
                condition: checked

        add_assets:
            label: 'janvince.smallcontactform::lang.settings.form.add_assets'
            comment: 'janvince.smallcontactform::lang.settings.form.add_assets_comment'
            span: full
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'

        add_css_assets:
            label: 'janvince.smallcontactform::lang.settings.form.add_css_assets'
            comment: 'janvince.smallcontactform::lang.settings.form.add_css_assets_comment'
            span: full
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'
            cssClass: field-indent
            trigger:
                action: show
                field: add_assets
                condition: checked

        add_js_assets:
            label: 'janvince.smallcontactform::lang.settings.form.add_js_assets'
            comment: 'janvince.smallcontactform::lang.settings.form.add_js_assets_comment'
            span: full
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'
            cssClass: field-indent
            trigger:
                action: show
                field: add_assets
                condition: checked

        section_notes:
            type: section
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'

        form_notes:
            label: 'janvince.smallcontactform::lang.settings.form.notes'
            comment: 'janvince.smallcontactform::lang.settings.form.notes_comment'
            span: left
            type: textarea
            tab: 'janvince.smallcontactform::lang.settings.tabs.form'


        ## BUTTONS

        send_btn_wrapper_css:
            span: left
            label: 'janvince.smallcontactform::lang.settings.buttons.send_btn_wrapper_css'
            placeholder: 'janvince.smallcontactform::lang.settings.buttons.send_btn_wrapper_css_placeholder'
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.buttons'

        send_btn_css_class:
            label: 'janvince.smallcontactform::lang.settings.buttons.send_btn_css_class'
            placeholder: 'janvince.smallcontactform::lang.settings.buttons.send_btn_css_class_placeholder'
            span: left
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.buttons'

        send_btn_text:
            label: 'janvince.smallcontactform::lang.settings.buttons.send_btn_text'
            placeholder: 'janvince.smallcontactform::lang.settings.buttons.send_btn_text_placeholder'
            span: left
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.buttons'

        section_redirect:
            type: section
            tab: 'janvince.smallcontactform::lang.settings.tabs.buttons'

        allow_redirect:
            label: 'janvince.smallcontactform::lang.settings.redirect.allow_redirect'
            comment: 'janvince.smallcontactform::lang.settings.redirect.allow_redirect_comment'
            span: full
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.buttons'

        redirect_url:
            label: 'janvince.smallcontactform::lang.settings.redirect.redirect_url'
            comment: 'janvince.smallcontactform::lang.settings.redirect.redirect_url_comment'
            placeholder: 'janvince.smallcontactform::lang.settings.redirect.redirect_url_placeholder'
            span: full
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.buttons'
            cssClass: field-indent
            trigger:
                action: show
                field: allow_redirect
                condition: checked


        redirect_url_external:
            label: 'janvince.smallcontactform::lang.settings.redirect.redirect_url_external'
            comment: 'janvince.smallcontactform::lang.settings.redirect.redirect_url_external_comment'
            span: full
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.buttons'
            cssClass: field-indent
            trigger:
                action: show
                field: allow_redirect
                condition: checked


        ## FORM FIELDS

        form_fields:
            prompt: 'janvince.smallcontactform::lang.settings.form_fields.prompt'
            span: full
            type: repeater
            style: collapsed
            tab: 'janvince.smallcontactform::lang.settings.tabs.form_fields'
            form:
                fields:
                    name:
                        span: full
                        label: 'janvince.smallcontactform::lang.settings.form_fields.name'
                        comment: 'janvince.smallcontactform::lang.settings.form_fields.name_comment'
                        type: text
                        required: true
                        # cssClass: 'bg-info'
                    type:
                        span: left
                        label: 'janvince.smallcontactform::lang.settings.form_fields.type'
                        type: dropdown
                        required: true
                        cssClass: field-indent
                    label:
                        span: right
                        label: 'janvince.smallcontactform::lang.settings.form_fields.label'
                        placeholder: 'janvince.smallcontactform::lang.settings.form_fields.label_placeholder'
                        type: text
                        cssClass: field-indent

                    field_values:
                        # label: 'janvince.smallcontactform::lang.settings.form_fields.validation'
                        prompt: 'janvince.smallcontactform::lang.settings.form_fields.add_values_prompt'
                        span: full
                        type: repeater
                        style: collapsed
                        cssClass: field-indent
                        trigger:
                            action: show
                            field: type
                            condition: value[dropdown]
                        form:
                            fields:
                                field_value_id:
                                    span: left
                                    label: 'janvince.smallcontactform::lang.settings.form_fields.field_value_id'
                                    type: text
                                field_value_content:
                                    span: right
                                    label: 'janvince.smallcontactform::lang.settings.form_fields.field_value_content'
                                    type: text

                    field_custom_code:
                        span: full
                        label: 'janvince.smallcontactform::lang.settings.form_fields.custom_code'
                        comment: 'janvince.smallcontactform::lang.settings.form_fields.custom_code_comment'
                        type: codeeditor
                        size: large
                        cssClass: field-indent
                        trigger:
                            action: show
                            field: type
                            condition: value[custom_code]

                    field_custom_code_twig:
                        span: left
                        label: 'janvince.smallcontactform::lang.settings.form_fields.custom_code_twig'
                        comment: 'janvince.smallcontactform::lang.settings.form_fields.custom_code_twig_comment'
                        type: checkbox
                        cssClass: field-indent
                        trigger:
                            action: show
                            field: type
                            condition: value[custom_code]

                    field_custom_code_line:
                        span: full
                        type: section
                        cssClass: field-indent
                        trigger:
                            action: show
                            field: type
                            condition: value[custom_code]

                    field_custom_content:
                        span: full
                        label: 'janvince.smallcontactform::lang.settings.form_fields.custom_content'
                        comment: 'janvince.smallcontactform::lang.settings.form_fields.custom_content_comment'
                        type: richeditor
                        size: large
                        cssClass: field-indent
                        trigger:
                            action: show
                            field: type
                            condition: value[custom_content]

                    field_custom_content_section:
                        span: full
                        type: section
                        cssClass: field-indent
                        trigger:
                            action: show
                            field: type
                            condition: value[custom_content]

                    field_styling:
                        label: 'janvince.smallcontactform::lang.settings.form_fields.field_styling'
                        comment: 'janvince.smallcontactform::lang.settings.form_fields.field_styling_comment'
                        span: left
                        type: checkbox
                        tab: 'janvince.smallcontactform::lang.settings.tabs.form_fields'
                        cssClass: field-indent

                    autofocus:
                        label: 'janvince.smallcontactform::lang.settings.form_fields.autofocus'
                        comment: 'janvince.smallcontactform::lang.settings.form_fields.autofocus_comment'
                        span: right
                        type: checkbox
                        tab: 'janvince.smallcontactform::lang.settings.tabs.form_fields'
                        cssClass: field-indent

                    wrapper_css:
                        span: left
                        label: 'janvince.smallcontactform::lang.settings.form_fields.wrapper_css'
                        placeholder: 'janvince.smallcontactform::lang.settings.form_fields.wrapper_css_placeholder'
                        type: text
                        cssClass: field-indent
                        trigger:
                            action: show
                            field: field_styling
                            condition: checked

                    label_css:
                        span: left
                        label: 'janvince.smallcontactform::lang.settings.form_fields.label_css'
                        placeholder: 'janvince.smallcontactform::lang.settings.form_fields.label_css_placeholder'
                        type: text
                        cssClass: field-indent
                        trigger:
                            action: show
                            field: field_styling
                            condition: checked

                    field_css:
                        span: right
                        label: 'janvince.smallcontactform::lang.settings.form_fields.field_css'
                        placeholder: 'janvince.smallcontactform::lang.settings.form_fields.field_css_placeholder'
                        type: text
                        trigger:
                            action: show
                            field: field_styling
                            condition: checked

                    section_validation:
                        type: section
                        cssClass: field-indent
                        trigger:
                            action: show
                            field: field_styling
                            condition: checked


                    field_validation:
                        label: 'janvince.smallcontactform::lang.settings.form_fields.field_validation'
                        comment: 'janvince.smallcontactform::lang.settings.form_fields.field_validation_comment'
                        span: full
                        type: checkbox
                        cssClass: field-indent

                    validation:
                        # label: 'janvince.smallcontactform::lang.settings.form_fields.validation'
                        prompt: 'janvince.smallcontactform::lang.settings.form_fields.validation_prompt'
                        span: full
                        type: repeater
                        style: collapsed
                        cssClass: field-indent
                        trigger:
                            action: show
                            field: field_validation
                            condition: checked
                        form:
                            fields:
                                validation_type:
                                    span: left
                                    label: 'janvince.smallcontactform::lang.settings.form_fields.validation'
                                    type: dropdown
                                    emptyOption: 'janvince.smallcontactform::lang.settings.form_field_validation.select'
                                validation_error:
                                    span: right
                                    label: 'janvince.smallcontactform::lang.settings.form_fields.validation_error'
                                    placeholder: 'janvince.smallcontactform::lang.settings.form_fields.validation_error_placeholder'
                                    type: text
                                validation_custom_type:
                                    span: left
                                    label: 'janvince.smallcontactform::lang.settings.form_fields.validation_custom_type'
                                    placeholder: 'janvince.smallcontactform::lang.settings.form_fields.validation_custom_type_placeholder'
                                    comment: 'janvince.smallcontactform::lang.settings.form_fields.validation_custom_type_comment'
                                    commentHtml: true
                                    type: text
                                    trigger:
                                        action: show
                                        field: validation_type
                                        condition: value[custom]
                                validation_custom_pattern:
                                    span: right
                                    label: 'janvince.smallcontactform::lang.settings.form_fields.validation_custom_pattern'
                                    placeholder: 'janvince.smallcontactform::lang.settings.form_fields.validation_custom_pattern_placeholder'
                                    comment: 'janvince.smallcontactform::lang.settings.form_fields.validation_custom_pattern_comment'
                                    type: text
                                    trigger:
                                        action: show
                                        field: validation_type
                                        condition: value[custom]


        ## MAPPING

        autoreply_email_field:
            label: 'janvince.smallcontactform::lang.settings.email.autoreply_email_field'
            commentHtml: true
            comment: 'janvince.smallcontactform::lang.settings.email.autoreply_email_field_comment'
            span: left
            type: dropdown
            tab: 'janvince.smallcontactform::lang.settings.tabs.mapping'
            emptyOption: 'janvince.smallcontactform::lang.settings.email.autoreply_email_field_empty_option'

        partial_mapping:
            type: partial
            path: $/janvince/smallcontactform/models/settings/_mapping_help.htm
            span: right
            tab: 'janvince.smallcontactform::lang.settings.tabs.mapping'

        autoreply_name_field:
            label: 'janvince.smallcontactform::lang.settings.email.autoreply_name_field'
            commentHtml: true
            comment: 'janvince.smallcontactform::lang.settings.email.autoreply_name_field_comment'
            span: left
            type: dropdown
            tab: 'janvince.smallcontactform::lang.settings.tabs.mapping'
            emptyOption: 'janvince.smallcontactform::lang.settings.email.autoreply_name_field_empty_option'

        autoreply_message_field:
            label: 'janvince.smallcontactform::lang.settings.email.autoreply_message_field'
            commentHtml: true
            comment: 'janvince.smallcontactform::lang.settings.email.autoreply_message_field_comment'
            span: left
            type: dropdown
            tab: 'janvince.smallcontactform::lang.settings.tabs.mapping'
            emptyOption: 'janvince.smallcontactform::lang.settings.email.autoreply_message_field_empty_option'

        partial_mapping_warning:
            type: partial
            path: $/janvince/smallcontactform/models/settings/_mapping_warning.htm
            span: right
            tab: 'janvince.smallcontactform::lang.settings.tabs.mapping'


        ## ANTISPAM

        add_google_recaptcha:
            label: 'janvince.smallcontactform::lang.settings.antispam.add_google_recaptcha'
            comment: 'janvince.smallcontactform::lang.settings.antispam.add_google_recaptcha_comment'
            commentHtml: true
            span: full
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'

        google_recaptcha_version:
            label: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_version'
            comment: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_version_comment'
            commentHtml: true
            span: left
            type: dropdown
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            cssClass: field-indent
            options:
                v2checkbox: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_versions.v2checkbox'
                v2invisible: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_versions.v2invisible'
            trigger:
                action: show
                field: add_google_recaptcha
                condition: checked

        google_recaptcha_site_key:
            label: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_site_key'
            comment: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_site_key_comment'
            commentHtml: true
            span: left
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            cssClass: field-indent
            trigger:
                action: show
                field: add_google_recaptcha
                condition: checked

        google_recaptcha_secret_key:
            label: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_secret_key'
            comment: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_secret_key_comment'
            span: right
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            cssClass: field-indent
            trigger:
                action: show
                field: add_google_recaptcha
                condition: checked

        google_recaptcha_error_msg:
            label: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_error_msg'
            comment: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_error_msg_comment'
            placeholder: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_error_msg_placeholder'
            span: left
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            cssClass: field-indent
            trigger:
                action: show
                field: add_google_recaptcha
                condition: checked

        google_recaptcha_wrapper_css:
            label: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_wrapper_css'
            comment: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_wrapper_css_comment'
            placeholder: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_wrapper_css_placeholder'
            span: left
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            cssClass: field-indent
            trigger:
                action: show
                field: add_google_recaptcha
                condition: checked

        google_recaptcha_scripts_allow:
            label: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_scripts_allow'
            comment: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_scripts_allow_comment'
            span: left
            type: checkbox
            default: false
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            cssClass: field-indent
            trigger:
                action: show
                field: add_google_recaptcha
                condition: checked

        google_recaptcha_locale_allow:
            label: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_locale_allow'
            comment: 'janvince.smallcontactform::lang.settings.antispam.google_recaptcha_locale_allow_comment'
            span: left
            type: checkbox
            default: false
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            cssClass: field-indent
            trigger:
                action: show
                field: add_google_recaptcha
                condition: checked

        section_google_recaptcha:
            type: section
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            trigger:
                action: show
                field: add_google_recaptcha
                condition: checked

        section_disabled_extensions:
            type: section
            label: 'janvince.smallcontactform::lang.settings.antispam.disabled_extensions' 
            comment: 'janvince.smallcontactform::lang.settings.antispam.disabled_extensions_comment' 
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            trigger:
                action: show
                field: privacy_disable_messages_saving
                condition: checked

        add_antispam:
            label: 'janvince.smallcontactform::lang.settings.antispam.add_antispam'
            comment: 'janvince.smallcontactform::lang.settings.antispam.add_antispam_comment'
            span: full
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'           

        antispam_delay:
            label: 'janvince.smallcontactform::lang.settings.antispam.antispam_delay'
            comment: 'janvince.smallcontactform::lang.settings.antispam.antispam_delay_comment'
            placeholder: 'janvince.smallcontactform::lang.settings.antispam.antispam_delay_placeholder'
            span: left
            type: number
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            cssClass: field-indent
            trigger:
                action: show
                field: add_antispam
                condition: checked

        antispam_delay_error_msg:
            label: 'janvince.smallcontactform::lang.settings.antispam.antispam_delay_error_msg'
            comment: 'janvince.smallcontactform::lang.settings.antispam.antispam_delay_error_msg_comment'
            placeholder: 'janvince.smallcontactform::lang.settings.antispam.antispam_delay_error_msg_placeholder'
            span: right
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            cssClass: field-indent
            trigger:
                action: show
                field: add_antispam
                condition: checked


        antispam_label:
            label: 'janvince.smallcontactform::lang.settings.antispam.antispam_label'
            comment: 'janvince.smallcontactform::lang.settings.antispam.antispam_label_comment'
            placeholder: 'janvince.smallcontactform::lang.settings.antispam.antispam_label_placeholder'
            span: left
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            cssClass: field-indent
            trigger:
                action: show
                field: add_antispam
                condition: checked

        antispam_error_msg:
            label: 'janvince.smallcontactform::lang.settings.antispam.antispam_error_msg'
            comment: 'janvince.smallcontactform::lang.settings.antispam.antispam_error_msg_comment'
            placeholder: 'janvince.smallcontactform::lang.settings.antispam.antispam_error_msg_placeholder'
            span: right
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            cssClass: field-indent
            trigger:
                action: show
                field: add_antispam
                condition: checked

        section_ip_protection:
            type: section
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            trigger:
                action: show
                field: add_antispam
                condition: checked

        add_ip_protection:
            label: 'janvince.smallcontactform::lang.settings.antispam.add_ip_protection'
            comment: 'janvince.smallcontactform::lang.settings.antispam.add_ip_protection_comment'
            span: full
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            trigger:
                action: disable
                field: privacy_disable_messages_saving
                condition: checked

        add_ip_protection_count:
            label: 'janvince.smallcontactform::lang.settings.antispam.add_ip_protection_count'
            comment: 'janvince.smallcontactform::lang.settings.antispam.add_ip_protection_count_comment'
            placeholder: 'janvince.smallcontactform::lang.settings.antispam.add_ip_protection_count_placeholder'
            span: left
            type: number
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            cssClass: field-indent
            trigger:
                action: show
                field: add_ip_protection
                condition: checked

        add_ip_protection_error_too_many_submits:
            label: 'janvince.smallcontactform::lang.settings.antispam.add_ip_protection_error_too_many_submits'
            comment: 'janvince.smallcontactform::lang.settings.antispam.add_ip_protection_error_too_many_submits_comment'
            placeholder: 'janvince.smallcontactform::lang.settings.antispam.add_ip_protection_error_too_many_submits_placeholder'
            span: right
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.antispam'
            cssClass: field-indent
            trigger:
                action: show
                field: add_ip_protection
                condition: checked



        ## EMAILS

        allow_email_queue:
            label: 'janvince.smallcontactform::lang.settings.email.allow_email_queue'
            comment: 'janvince.smallcontactform::lang.settings.email.allow_email_queue_comment'
            span: full
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.email'

        section_autoreply:
            type: section
            tab: 'janvince.smallcontactform::lang.settings.tabs.email'
            trigger:
                action: show
                field: allow_autoreply
                condition: checked

        allow_autoreply:
            label: 'janvince.smallcontactform::lang.settings.email.allow_autoreply'
            comment: 'janvince.smallcontactform::lang.settings.email.allow_autoreply_comment'
            span: left
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.email'

        email_address_from:
            label: 'janvince.smallcontactform::lang.settings.email.address_from'
            span: left
            type: text
            placeholder: 'janvince.smallcontactform::lang.settings.email.address_from_placeholder'
            tab: 'janvince.smallcontactform::lang.settings.tabs.email'
            cssClass: field-indent
            trigger:
                action: show
                field: allow_autoreply
                condition: checked

        email_address_from_name:
            label: 'janvince.smallcontactform::lang.settings.email.address_from_name'
            span: right
            type: text
            placeholder: 'janvince.smallcontactform::lang.settings.email.address_from_name_placeholder'
            tab: 'janvince.smallcontactform::lang.settings.tabs.email'
            cssClass: field-indent
            trigger:
                action: show
                field: allow_autoreply
                condition: checked

        email_address_replyto:
            label: 'janvince.smallcontactform::lang.settings.email.address_replyto'
            span: left
            type: text
            placeholder: 'janvince.smallcontactform::lang.settings.email.address_from_placeholder'
            tab: 'janvince.smallcontactform::lang.settings.tabs.email'
            cssClass: field-indent
            trigger:
                action: show
                field: allow_autoreply
                condition: checked

        email_subject:
            label: 'janvince.smallcontactform::lang.settings.email.subject'
            comment: 'janvince.smallcontactform::lang.settings.email.subject_comment'
            span: full
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.email'
            cssClass: field-indent
            trigger:
                action: show
                field: allow_autoreply
                condition: checked

        email_template:
            label: 'janvince.smallcontactform::lang.settings.email.template'
            comment: 'janvince.smallcontactform::lang.settings.email.template_comment'
            span: left
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.email'
            cssClass: field-indent
            trigger:
                action: show
                field: allow_autoreply
                condition: checked

        section_notify:
            type: section
            tab: 'janvince.smallcontactform::lang.settings.tabs.email'
            trigger:
                action: show
                field: allow_notifications
                condition: checked


        allow_notifications:
            label: 'janvince.smallcontactform::lang.settings.email.allow_notifications'
            comment: 'janvince.smallcontactform::lang.settings.email.allow_notifications_comment'
            span: left
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.email'

        notification_address_from_form:
            label: 'janvince.smallcontactform::lang.settings.email.notification_address_from_form'
            comment: 'janvince.smallcontactform::lang.settings.email.notification_address_from_form_comment'
            span: full
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.email'
            cssClass: field-indent
            trigger:
                action: show
                field: allow_notifications
                condition: checked

        notification_address_to:
            label: 'janvince.smallcontactform::lang.settings.email.notification_address_to'
            comment: 'janvince.smallcontactform::lang.settings.email.notification_address_to_comment'
            span: left
            type: text
            placeholder: 'janvince.smallcontactform::lang.settings.email.notification_address_to_placeholder'
            tab: 'janvince.smallcontactform::lang.settings.tabs.email'
            cssClass: field-indent
            trigger:
                action: show
                field: allow_notifications
                condition: checked

        notification_template:
            label: 'janvince.smallcontactform::lang.settings.email.notification_template'
            comment: 'janvince.smallcontactform::lang.settings.email.notification_template_comment'
            span: left
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.email'
            cssClass: field-indent
            trigger:
                action: show
                field: allow_notifications
                condition: checked


        ## Google Analytics
        section_ga_events:
            type: section
            label: 'janvince.smallcontactform::lang.settings.sections.ga_events'
            tab: 'janvince.smallcontactform::lang.settings.tabs.ga'

        ga_success_event_allow:
            label: 'janvince.smallcontactform::lang.settings.ga.ga_success_event_allow'
            span: left
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.ga'

        ga_success_event_gtag:
            label: 'janvince.smallcontactform::lang.settings.ga.ga_success_event_gtag'
            span: left
            type: dropdown
            defaut: 'gtag'
            cssClass: field-indent
            emptyOption: 'janvince.smallcontactform::lang.settings.ga.ga_success_event_gtag_empty_option'
            options:
                gtag: 'janvince.smallcontactform::lang.settings.ga.ga_success_event_gtag_gtag'
                ga: 'janvince.smallcontactform::lang.settings.ga.ga_success_event_gtag_ga'
            tab: 'janvince.smallcontactform::lang.settings.tabs.ga'

        ga_success_event_category:
            label: 'janvince.smallcontactform::lang.settings.form_fields.event_category'
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.ga'
            cssClass: field-indent
            trigger:
                action: show
                field: ga_success_event_allow
                condition: checked            
    
        ga_success_event_action:
            label: 'janvince.smallcontactform::lang.settings.form_fields.event_action'
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.ga'
            cssClass: field-indent
            trigger:
                action: show
                field: ga_success_event_allow
                condition: checked            
    
        ga_success_event_label:
            label: 'janvince.smallcontactform::lang.settings.form_fields.event_label'
            type: text
            tab: 'janvince.smallcontactform::lang.settings.tabs.ga'
            cssClass: field-indent
            trigger:
                action: show
                field: ga_success_event_allow
                condition: checked            
    

        ## PRIVACY

        privacy_disable_messages_saving:
            label: 'janvince.smallcontactform::lang.settings.privacy.disable_messages_saving'
            comment: 'janvince.smallcontactform::lang.settings.privacy.disable_messages_saving_comment'
            commentHtml: true
            span: full
            type: checkbox
            tab: 'janvince.smallcontactform::lang.settings.tabs.privacy'

        privacy_disable_messages_saving_section:
            comment: 'janvince.smallcontactform::lang.settings.privacy.disable_messages_saving_comment_section'
            commentHtml: true
            span: full
            type: section
            cssClass: field-indent
            tab: 'janvince.smallcontactform::lang.settings.tabs.privacy'
            trigger:
                action: show
                field: privacy_disable_messages_saving
                condition: checked
