# Survey plugin min/max not implemented nor validated

**URL:** https://meta.discourse.org/t/survey-plugin-min-max-not-implemented-nor-validated/404023
**Category:** Bug
**Tags:** surveys
**Created:** [May 28, 2026, 4:17pm UTC](https://meta.discourse.org/t/survey-plugin-min-max-not-implemented-nor-validated/404023 "2026-05-28T16:17:22Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [June 8, 2026, 5:10pm UTC](https://meta.discourse.org/t/survey-plugin-min-max-not-implemented-nor-validated/404023/2 "2026-06-08T17:10:53Z")

</div>

Indeed! thanks for reporting it, I’ve opened a PR that will make min/max work and validates the submission:

> <https://github.com/discourse/discourse-surveys/pull/99>
>
> Reported here: https://meta.discourse.org/t/survey-plugin-min-max-not-implemente…d-nor-validated/404023
> 
> The \`min\` and \`max\` values were documented, but never used. Number fields always rendered a 1 - 10 scale, and because submitted values weren't checked server-side, a custom request could store any value.
> 
> This wires up the min & max values, includes a migration to add the new min/max columns, and adds new specs to validate. 
> 
> Existing surveys are unaffected.

---

_[View the full topic](https://meta.discourse.org/t/survey-plugin-min-max-not-implemented-nor-validated/404023)._
