Skip to content

Text area not validating the limit defined in the database. #6

Open

Description

@jg-ggs

Version: 6.5.2 (lower and higher versions have the same problem)

Details of the identified issue:
When a survey field is configured as a text area, it is possible to submit a long text response without any frontend-imposed limit. If more than 1,000 characters are entered and submitted, the frontend displays the success screen; however, the survey response is not recorded in the backend. A database error occurs when attempting to insert the data into the survey_vote.vote_value column, due to its explicit 1,000-character limit.

Recommended solution:
I believe it would be worth implementing frontend/backend validation to check the character count.

Note: Because of CKEditor, the character count may be higher than expected when visual/formatting features are used, since the underlying HTML markup is also stored.

Image

Activity

  1. added
    BugAn issue with the system.
    VerifiedThis issue or pull request was verified.
    on Sep 18, 2026
  2. added theissue type on Sep 18, 2026
  3. rkaldung commented on Sep 18, 2026

    @rkaldung
    Member

    Internal Issue 27

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

    3 - internal Issue/MRA Znuny internal issue/MR has been created.BugAn issue with the system.VerifiedThis issue or pull request was verified.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions