# I need to stop user from inputting negative number

**URL:** <https://forum.adalo.com/t/i-need-to-stop-user-from-inputting-negative-number/23063>\
**Category:** Get Help\
**Created:** [February 6, 2022, 6:56am UTC](https://forum.adalo.com/t/i-need-to-stop-user-from-inputting-negative-number/23063 "2022-02-06T06:56:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![trble](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@trble](https://forum.adalo.com/u/trble)\
**Post date:** [February 6, 2022, 6:56am UTC](https://forum.adalo.com/t/i-need-to-stop-user-from-inputting-negative-number/23063/1 "2022-02-06T06:56:38Z")

</div>

How can I stop user from inputting negative numbers into number input?

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [February 7, 2022, 6:36am UTC](https://forum.adalo.com/t/i-need-to-stop-user-from-inputting-negative-number/23063/2 "2022-02-07T06:36:21Z")

</div>

Hi @trble,

If I’m correct this is not possible. Not sure if No Code Monkey’s Input has this feature or a different custom component has this feature. Maybe you can create a [feature request](https://adalo.canny.io/) or maybe you can contact a Component Developer to create a component for this .

Maybe for a workaround you can add a countdown component and set a visibility condition to the countdown If Input\>Contains\> - And add the change input value action to the countdown and select that input and keep the value empty.  
And another visibility condition to the create button visible if Input\>is not equal to\>- (without space). And then when there’s - in the Input the countdown is visible and clearing the input.

Thank you

---

<div class="post-metadata">

**Author:** ![golivrob](https://avatars.discourse-cdn.com/v4/letter/g/b9bd4f/32.png) [@golivrob](https://forum.adalo.com/u/golivrob)\
**Post date:** [February 7, 2022, 6:44am UTC](https://forum.adalo.com/t/i-need-to-stop-user-from-inputting-negative-number/23063/3 "2022-02-07T06:44:54Z")

</div>

I believe it is not yet possible. It’s shady, but I believe you can put something condition to actions on the Save / Validation button. Conditions being, if the input contains - you preview an modal saying number can’t be negative

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [February 17, 2022, 6:45am UTC](https://forum.adalo.com/t/i-need-to-stop-user-from-inputting-negative-number/23063/4 "2022-02-17T06:45:13Z")

</div>

Closed on February 17, 2022, 6:45am UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
