# Widget input min and max values don't work with variables Bonita 7.0.2

**URL:** <https://community.ofelia.com/t/widget-input-min-and-max-values-dont-work-with-variables-bonita-7-0-2/6300>\
**Category:** Q&A\
**Created:** [13 August 2015 19:13 UTC](https://community.ofelia.com/t/widget-input-min-and-max-values-dont-work-with-variables-bonita-7-0-2/6300 "2015-08-13T19:13:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vilcholo](https://avatars.discourse-cdn.com/v4/letter/v/b9bd4f/32.png) [@vilcholo](https://community.ofelia.com/u/vilcholo)\
**Post date:** [13 August 2015 19:13 UTC](https://community.ofelia.com/t/widget-input-min-and-max-values-dont-work-with-variables-bonita-7-0-2/6300/1 "2015-08-13T19:13:37Z")

</div>

Widget input min and max values don’t work with variables.

When I put a variable, obtained from process variable or BDM as minimum or maximum value in widget input (number) the form is not validated correctly.  
someone has the solution?  
Thank you.

---

<div class="post-metadata">

**Author:** ![vilcholo](https://avatars.discourse-cdn.com/v4/letter/v/b9bd4f/32.png) [@vilcholo](https://community.ofelia.com/u/vilcholo)\
**Post date:** [13 August 2015 22:53 UTC](https://community.ofelia.com/t/widget-input-min-and-max-values-dont-work-with-variables-bonita-7-0-2/6300/2 "2015-08-13T22:53:08Z")

</div>

I answer myself.  
Despite this error, if it is indicated an expression (variable + integer for example) it does work fine.  
I put in he maximum value: `variableName + 0`  
It works also with `BDM.variable + 0`

I have created the issue [BBPMC-296](https://bonita.atlassian.net/browse/BBPMC-296).
