# How can i change things based on conditions?

**URL:** <https://forum.bubble.io/t/how-can-i-change-things-based-on-conditions/2294>\
**Category:** Need help\
**Created:** [April 8, 2016, 10:50pm UTC](https://forum.bubble.io/t/how-can-i-change-things-based-on-conditions/2294 "2016-04-08T22:50:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![remidaniel.leveque](https://avatars.discourse-cdn.com/v4/letter/r/ebca7d/32.png) [@remidaniel.leveque](https://forum.bubble.io/u/remidaniel.leveque)\
**Post date:** [April 8, 2016, 10:50pm UTC](https://forum.bubble.io/t/how-can-i-change-things-based-on-conditions/2294/1 "2016-04-08T22:50:20Z")

</div>

I need to make change based on a result of a calculation. I can do it in Text but How I can do it in my database ?

---

<div class="post-metadata">

**Author:** ![romanmg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/romanmg/32/237672_2.png) [@romanmg](https://forum.bubble.io/u/romanmg)\
**Post date:** [April 8, 2016, 11:08pm UTC](https://forum.bubble.io/t/how-can-i-change-things-based-on-conditions/2294/2 "2016-04-08T23:08:09Z")

</div>

You could make a change to a list of things when the calculation happens so that your database fields are updated if they’re dependent on that first calculation. E.g. “When number is calculated, make a change to a list of things” and fields that rely on that number = the result of the first step (plus rest of equation). That result being a variable in the database equations.

But maybe give some more details for more specific suggestions.

---

<div class="post-metadata">

**Author:** ![remidaniel.leveque](https://avatars.discourse-cdn.com/v4/letter/r/ebca7d/32.png) [@remidaniel.leveque](https://forum.bubble.io/u/remidaniel.leveque)\
**Post date:** [April 9, 2016, 9:50pm UTC](https://forum.bubble.io/t/how-can-i-change-things-based-on-conditions/2294/3 "2016-04-09T21:50:43Z")

</div>

thanks to you , I discovered that I can custom event ! I will try it and I’ll let you know.  
Regards

---

<div class="post-metadata">

**Author:** ![jonaspalmqvist](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jonaspalmqvist/32/7307_2.png) [@jonaspalmqvist](https://forum.bubble.io/u/jonaspalmqvist)\
**Post date:** [October 7, 2016, 2:44pm UTC](https://forum.bubble.io/t/how-can-i-change-things-based-on-conditions/2294/4 "2016-10-07T14:44:47Z")

</div>

How did it go?
