# Dynamic Number with Dynamic message

**URL:** <https://community.gravityforms.com/t/dynamic-number-with-dynamic-message/11960>\
**Category:** Get Help\
**Tags:** custom, populate-anything, gform\_validation\
**Created:** [February 18, 2022, 11:23pm UTC](https://community.gravityforms.com/t/dynamic-number-with-dynamic-message/11960 "2022-02-18T23:23:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user60a786901b16f835](https://avatars.discourse-cdn.com/v4/letter/u/9de0a6/32.png) [@user60a786901b16f835](https://community.gravityforms.com/u/user60a786901b16f835)\
**Post date:** [February 18, 2022, 11:23pm UTC](https://community.gravityforms.com/t/dynamic-number-with-dynamic-message/11960/1 "2022-02-18T23:23:56Z")

</div>

Hello, I would like to see how I would be able to make a conditional rule on a value. For example, if the user enters 10 but the value must be between 2 and 5, the form displays FAILURE but the user can still continue with a follow-up action. The value 10 is a dynamic value that comes from another field and import via gravity wiz (Populate anything) Thanks for your ideas.

---

<div class="post-metadata">

**Author:** ![simonc](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/simonc/32/1431_2.png) [@simonc](https://community.gravityforms.com/u/simonc)\
**Post date:** [February 21, 2022, 4:19pm UTC](https://community.gravityforms.com/t/dynamic-number-with-dynamic-message/11960/2 "2022-02-21T16:19:38Z")

</div>

What kind of follow-up action are you thinking of? Should the user be able to submit the form and then see the FAILURE message, or should it be a validation that keeps them from submitting?

If it’s the prior then you can hook into the gform\_confirmation filter which has the $entry object available. Check if they submitted a good/bad value and adjust the confirmation content to provide this ‘follow-up’ action.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [March 23, 2022, 4:20pm UTC](https://community.gravityforms.com/t/dynamic-number-with-dynamic-message/11960/3 "2022-03-23T16:20:03Z")

</div>

Closed on March 23, 2022, 4:20pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
