OdooWiki OCA HUB

Survey Text Question Validation Length

survey_text_question_validation_length folder_open OCA/survey open_in_new
Uncategorised License: AGPL-3

This module adds the possibility of validating the size entry for a text box question (with the same mechanism as for a char box question).

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Lets you set a minimum and maximum number of characters for text box answers in surveys, and shows an error message when the answer is too short or too long.

When you build a survey, text box questions can now be validated by length. On the question form, in the Answers tab, a new option appears only for text box questions: turn on validation, then set the minimum length, the maximum length and the error message shown to the respondent.

  • The validation settings are hidden for other question types, so they only apply to text box questions.
  • If validation is enabled and the answer's character count is outside the allowed range, the survey blocks the answer and displays your custom error message.
  • If validation is not enabled, the answer is accepted as before.

The module extends the survey.question model and its question validation logic, so it works together with the standard survey validation. It also adds fields to the survey question form view. No new menus or reports are added; everything happens inside the existing survey question configuration screen.

Depends on

survey
Models and fields (1)
  • survey.question · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.