Cant submit tailor content due to required fields of another group

Let’s imagine a tailor entry with 2 groups like that :

    handle: Blog\Post
    type: stream
    name: Article
    drafts: true
    
    primaryNavigation:
        label: Blog
        icon: icon-newspaper-o
        order: 16000
    
    navigation:
        icon: icon-newspaper-o
        parent: Blog\Post
        order: 10
    
    groups:
        post:
            name: Article
            fields:
                image:
                    label: Image
                    type: mediafinder
                    mode: image
                    maxItems: 1
                    tab: Infos
                    validation: required
                teaser:
                    label: Résumé
                    type: textarea
                    size: tiny
                    tab: Infos
                    validation: required
                content:
                    label: Contenu
                    tab: Contenu
                    type: richeditor
                    validation: required
                    column: false
        edito:
            name: Edito
            fields:
                content:
                    label: Contenu
                    tab: Contenu
                    type: richeditor
                    span: adaptive
                    validation: required
                    column: false
                image:
                    label: Image
                    type: mediafinder
                    mode: image
                    maxItems: 1
                    tab: Infos
                    validation: required

If I choose “edito” group, I cannot submit it because the “teaser” field of the “post” group is required.

Can I add a validation condition that say “required if group is ‘post’ type” ?

Hi @PubliAlex

The required_if rule should do this: Validation - October CMS - 3.x