# Trigger button with conditions

**URL:** <https://community.tulip.co/t/trigger-button-with-conditions/7135>\
**Category:** General\
**Created:** [December 20, 2022, 5:49am UTC](https://community.tulip.co/t/trigger-button-with-conditions/7135 "2022-12-20T05:49:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MTT](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@MTT](https://community.tulip.co/u/MTT)\
**Post date:** [December 20, 2022, 5:49am UTC](https://community.tulip.co/t/trigger-button-with-conditions/7135/1 "2022-12-20T05:49:14Z")

</div>

Hello,

I would like to ask a few questions regarding the trigger button to set the conditions.

![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/b/bba1eca96a535074560232c9e206e6c7bac78e2e.png)

The above picture is the sample I would like to do.  
It will let user to key-in in between number 1 to 10 but if the user key-in out of the number range, it will show error.  
How do I set that greater than, less than conditions in the trigger button?

Need some help thanks

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/a/a0107dcdabf87482ed5e90450ed2b8e31bd5b71e.png)

---

<div class="post-metadata">

**Author:** ![thorsten.langner](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@thorsten.langner](https://community.tulip.co/u/thorsten.langner)\
**Post date:** [December 21, 2022, 8:44am UTC](https://community.tulip.co/t/trigger-button-with-conditions/7135/2 "2022-12-21T08:44:28Z")

</div>

HI @MTT  
I hope that helps:

you need to attach a variable to the input field (in my example its " **number**")

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/5/51eb3f557d858fb477a83e9b8c1e3a0e1bf4c698.png)

---

<div class="post-metadata">

**Author:** ![MTT](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@MTT](https://community.tulip.co/u/MTT)\
**Post date:** [December 26, 2022, 1:53am UTC](https://community.tulip.co/t/trigger-button-with-conditions/7135/3 "2022-12-26T01:53:25Z")

</div>

Hi @thorsten.langner

Sorry for late replies due to I’m on holiday.

I will give it a try and let you know.

Thanks for the help!!
