Skip to content

Invalid input for question "Email". #3802

Description

@arpie42

Please use the 👍 reaction to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

Describe the bug
This bug appears on forms containing a non-mandatory question requiring a specific format such as email or telephone (and probably others but I've only tested these two). If the user enters any text in the response field to the question requiring the specific format, then subsequently removes this text, leaving the field blank, an error occurs when the form is submitted and it is impossible to submit the form without completing this field with a valid value.

To Reproduce

  1. Create a form with one optional short-text question, requiring an email address
  2. Attempt to fill in this form : enter some text in the email field, then delete it, leaving the field empty
  3. Press "Send"
  4. Observe the error which complains of "Invalid input for question 'questionname'"

Expected behavior
The form should be submitted as if the question had been untouched

Nextcloud (please complete the following information):

  • Nextcloud-Version: 35.0.2
  • Forms-Version: 5.4.1

Additional Infomation
The error message appears in English, despite my nextcloud (and all other text on the page) being in French - I am aware this observation is not directly related to this bug but it would be great to get this fixed too :-)

Activity

  1. added theissue type on Oct 25, 2026
  2. added
    bugSomething isn't working
    0. Needs triagePending approval or rejection. This issue is pending approval.
    on Oct 25, 2026
  3. changed the title [-]Invalid input for question "Tel".[/-] [+]Invalid input for question "Email".[/+] on Oct 25, 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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions