Skip to content

Custom error text for answer rules #4034

Backlog

Description

@AndyScherzinger

Nextcloud (please complete the following information):

  • Nextcloud-Version: 35 (current main)
  • Forms-Version: 5.5.0-dev

Is your feature request related to a problem? Please describe.
When an answer breaks a rule (length, number rule, required text, input type, regular expression), respondents see a fixed text such as "Enter a number from 1 to 10" or "The input does not match the required pattern". For a custom regular expression that text cannot explain what is expected, e.g. "Enter your employee ID, like AB-1234".

Describe the solution you'd like
An optional "Custom error text" field next to the answer rules of a question. If set, respondents see it instead of the default text when the answer breaks a rule.

Google Forms offers this as "Custom error text" in its response validation (Set rules for your form). Microsoft Forms has no custom error text.

Describe alternatives you've considered
Putting the explanation in the question description, which respondents see before answering, not when the error shows.

Additional context
Out of scope of #4032 (answer rules, ref #3076), which adds the rule hints and error texts. This issue collects feedback on whether custom error texts are needed: please 👍 it or comment with your use case.

Assisted by ClaudeCode:claude-opus-5-5

Activity

  1. added
    enhancement
    0. Needs triage
    on Nov 26, 2026
  2. Chartman123 commented on Nov 26, 2026

    @Chartman123
    Collaborator

    A user can also use the description field of a question to add this information for the respondents. So this is not high priority for me :)

  3. added this to the Maybe someday milestone on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triageAI assistedenhancementfeature: 📑 form creationfeedback-requested

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions