# Increase/decrease total buttons

**URL:** <https://forum.kirupa.com/t/increase-decrease-total-buttons/193472>\
**Category:** Uncategorized\
**Created:** [July 13, 2006, 3:29pm UTC](https://forum.kirupa.com/t/increase-decrease-total-buttons/193472 "2006-07-13T15:29:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaggieBroon](https://avatars.discourse-cdn.com/v4/letter/m/e274bd/32.png) [@MaggieBroon](https://forum.kirupa.com/u/MaggieBroon)\
**Post date:** [July 13, 2006, 3:29pm UTC](https://forum.kirupa.com/t/increase-decrease-total-buttons/193472/1 "2006-07-13T15:29:36Z")

</div>

Hey!

I am aware that the title might not be the most self explanatory but I’m not sure what to put?!?

I am making a demo of a gambling game and am stuck right at the very beginning :puzzled:

I want to do as much of this myself before I hand it over to the advanced flashers so I can learn new things but I am aware this is ridiculously easy.

I have 2 buttons and a dynamic text field. I want one button to increase the bet by £10 and the other to decrease it by £10. The amount should change in the textfield.

This I have done. But how do i set a minimum bet of £100 and a maximum of £500 so that it wont carry on decreasing once it reached £100 and so on and so forth…?

Cheers,  
Mags x
