# Conditional Logic within Notification Message Field \[RESOLVED\]

**URL:** <https://community.gravityforms.com/t/conditional-logic-within-notification-message-field-resolved/5620>\
**Category:** Get Help\
**Tags:** conditional-shortcode, conditional-notifications, conditional-logic\
**Created:** [August 4, 2020, 6:06pm UTC](https://community.gravityforms.com/t/conditional-logic-within-notification-message-field-resolved/5620 "2020-08-04T18:06:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![endurox](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/endurox/32/215_2.png) [@endurox](https://community.gravityforms.com/u/endurox)\
**Post date:** [August 4, 2020, 6:06pm UTC](https://community.gravityforms.com/t/conditional-logic-within-notification-message-field-resolved/5620/1 "2020-08-04T18:06:22Z")

</div>

Is it possible to have conditional logic within the “Message” field of the “Notifications” message?

For example if someone omits a non-required field, say {Name (First):2.3}, I would like to replace it with “Friend”.

Expanding on prior example. If user enters first name, display “hello name”, else display “hello friend”. Again, not sure how to accomplish this within the message field within the notifications area.

I could have sworn that I had seen an article in Gravity Forms help section providing instructions for doing this but I cannot locate it. Any help would be greatly appreciated. Thanks for looking into this!

---

<div class="post-metadata">

**Author:** ![uamv](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/uamv/32/1412_2.png) [@uamv](https://community.gravityforms.com/u/uamv)\
**Post date:** [August 4, 2020, 8:54pm UTC](https://community.gravityforms.com/t/conditional-logic-within-notification-message-field-resolved/5620/2 "2020-08-04T20:54:36Z")

</div>

Check out this excellent documentation re: the [GF Conditional Shortcode](https://gravitywiz.com/gravity-forms-conditional-shortcode/).

---

<div class="post-metadata">

**Author:** ![endurox](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/endurox/32/215_2.png) [@endurox](https://community.gravityforms.com/u/endurox)\
**Post date:** [August 4, 2020, 9:11pm UTC](https://community.gravityforms.com/t/conditional-logic-within-notification-message-field-resolved/5620/3 "2020-08-04T21:11:43Z")

</div>

Thank you Joshua. Will give it a shot. Very much appreciated!

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [August 5, 2020, 9:05pm UTC](https://community.gravityforms.com/t/conditional-logic-within-notification-message-field-resolved/5620/4 "2020-08-05T21:05:12Z")

</div>

Closed on August 5, 2020, 9:05pm UTC


