Skip to content

Add required option to Labels tag #8869

@eherrewijnen

Description

@eherrewijnen

Is your feature request related to a problem? Please describe.
I would like to enforce annotators to always highlight a region in the text using one of the labels in my tag. This is not possible at the moment, because this option is not available for the Labels tag.

Describe the solution you'd like
I would like to see the attribute "required" added to the labels tag, which checks whether the annotator selected at least one region in the text, and otherwise gives a popup when the annotator clicks on "submit".

Describe alternatives you've considered
I am now either accepting that my data does not get labelled, or need to add a complex set of rules across multiple Views, Choices, and Labels tags. (e.g., a View with visible when "no-region-selected", containing a required choice that adds a control question. However, users can still ignore this reminder.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions