# Conditional Rules

**URL:** <https://forums.knack.com/t/conditional-rules/12070>\
**Category:** Get Answers\
**Created:** [February 17, 2022, 3:52pm UTC](https://forums.knack.com/t/conditional-rules/12070 "2022-02-17T15:52:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![John7](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@John7](https://forums.knack.com/u/John7)\
**Post date:** [February 17, 2022, 3:52pm UTC](https://forums.knack.com/t/conditional-rules/12070/1 "2022-02-17T15:52:27Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/knack/original/2X/9/9efddf419f3aa50f3d94572a0f733db88cad0e19.png)

I’m trying to get the Amount Field to populate with the calculated “Increase Annual $'s” amount using the following logic:

When **Transaction Type** is “INCREASE”

Set to a field value **Increase Annual $'s** value.

I’ve tried a number of different things w/ no success.

Any ideas as to why it won’t work?

Thanks!

---

<div class="post-metadata">

**Author:** ![PeterG](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@PeterG](https://forums.knack.com/u/PeterG)\
**Post date:** [February 17, 2022, 4:09pm UTC](https://forums.knack.com/t/conditional-rules/12070/2 "2022-02-17T16:09:03Z")

</div>

Don’t use the quotes in your actual evaluation.

---

<div class="post-metadata">

**Author:** ![John7](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@John7](https://forums.knack.com/u/John7)\
**Post date:** [February 17, 2022, 4:36pm UTC](https://forums.knack.com/t/conditional-rules/12070/3 "2022-02-17T16:36:38Z")

</div>

Thanks Peter. I just did that in the explanation. This is how it’s setup:

![image](https://us1.discourse-cdn.com/flex020/uploads/knack/original/2X/4/4f27f6ee3e04301f5c4e3a1b6d80bd7a335d766d.png)

---

<div class="post-metadata">

**Author:** ![CarlHolmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/carlholmes/32/2814_2.png) [@CarlHolmes](https://forums.knack.com/u/CarlHolmes)\
**Post date:** [February 17, 2022, 6:00pm UTC](https://forums.knack.com/t/conditional-rules/12070/4 "2022-02-17T18:00:03Z")

</div>

Hey @John7 - it looks like your either adding or editing a record. If so, the conditional rule only updates when the record has been submitted, it doesn’t calculate on the fly.  
You should be able to remove the Amount field from the view as it will update once the form is submitted and the record rules fire.

---

<div class="post-metadata">

**Author:** ![John7](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@John7](https://forums.knack.com/u/John7)\
**Post date:** [February 17, 2022, 6:50pm UTC](https://forums.knack.com/t/conditional-rules/12070/5 "2022-02-17T18:50:37Z")

</div>

Thanks Carl. This makes total sense 😁

I appreciate the feedback!

---

<div class="post-metadata">

**Author:** ![CarlHolmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/carlholmes/32/2814_2.png) [@CarlHolmes](https://forums.knack.com/u/CarlHolmes)\
**Post date:** [February 17, 2022, 7:16pm UTC](https://forums.knack.com/t/conditional-rules/12070/6 "2022-02-17T19:16:40Z")

</div>

Hi @John7 - I’m glad that made sense.  
Conditional and Record rules don’t run until a record is submitted.  
Display rules work on forms dynamically to show/hide fields based on the rules set.  
Happy building 👍🚀
