# Get\_entries echo confirmation message

**URL:** <https://community.gravityforms.com/t/get-entries-echo-confirmation-message/9813>\
**Category:** Get Help\
**Tags:** custom, gfapi, conditional-logic\
**Created:** [June 14, 2021, 4:59pm UTC](https://community.gravityforms.com/t/get-entries-echo-confirmation-message/9813 "2021-06-14T16:59:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![user60c6f89f379ee076](https://avatars.discourse-cdn.com/v4/letter/u/aeb1de/32.png) [@user60c6f89f379ee076](https://community.gravityforms.com/u/user60c6f89f379ee076)\
**Post date:** [June 14, 2021, 4:59pm UTC](https://community.gravityforms.com/t/get-entries-echo-confirmation-message/9813/1 "2021-06-14T16:59:49Z")

</div>

Hi there,

I’ve got a conditionnal multipage form and i want in the user account page to show the confirmation message he had when he finished the forms.

I did :

```auto
$form_id = '4';
$search_criteria = array( 'status' => 'active', 'key' => 'created_by', 'value' => $current_user->ID ); 
$entries = GFAPI::get_entries( $form_id, $search_criteria );
					
					foreach ( $entries as $entry ) :   
						echo $entry["id"];
						echo $entry["date_created"];
						echo '<pre>'; 
						echo var_dump( $entry );
						echo '</pre>';
					endforeach; 

					?>

```

But can’t find how to display the confirmation message.  
I need your help ! Any idea ?

Jo

---

<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:** [June 14, 2021, 10:13pm UTC](https://community.gravityforms.com/t/get-entries-echo-confirmation-message/9813/2 "2021-06-14T22:13:07Z")

</div>

The confirmation messages are stored as part of the form object, not part of the entry. If you have more than one confirmation, you will need to pull both the form and the entry, and determine from the entry data which confirmation would have been shown, then show that. If the confirmation has any dynamic information from the entry, you will need to add that back in as well.

---

<div class="post-metadata">

**Author:** ![user60c6f89f379ee076](https://avatars.discourse-cdn.com/v4/letter/u/aeb1de/32.png) [@user60c6f89f379ee076](https://community.gravityforms.com/u/user60c6f89f379ee076)\
**Post date:** [June 15, 2021, 6:26am UTC](https://community.gravityforms.com/t/get-entries-echo-confirmation-message/9813/3 "2021-06-15T06:26:26Z")

</div>

Thank you Chris, I understand better the thing but canno’t apply it !

When i do

```auto
$form = GFAPI::get_form($form_id); 
$entries = FAPI::get_entries( $form_id)

```

I do not have anything in commun that i can “merge” …  
I hoped that i can do in the form i can find at least the entries id …

🤔

---

<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:** [June 15, 2021, 3:32pm UTC](https://community.gravityforms.com/t/get-entries-echo-confirmation-message/9813/4 "2021-06-15T15:32:59Z")

</div>

In your $entry object, you have access to the form ID, like this: `$entry['form_id']`

Then you can use `GFAPI::get_form` with that form ID to obtain the confirmations that are configured for that form.

---

<div class="post-metadata">

**Author:** ![user60c6f89f379ee076](https://avatars.discourse-cdn.com/v4/letter/u/aeb1de/32.png) [@user60c6f89f379ee076](https://community.gravityforms.com/u/user60c6f89f379ee076)\
**Post date:** [June 21, 2021, 8:15am UTC](https://community.gravityforms.com/t/get-entries-echo-confirmation-message/9813/5 "2021-06-21T08:15:51Z")

</div>

Thank you Chris,

With what you say, I got all the confirmations possible for that form but i would like to have the confirmation the user had …

---

<div class="post-metadata">

**Author:** ![user60c6f89f379ee076](https://avatars.discourse-cdn.com/v4/letter/u/aeb1de/32.png) [@user60c6f89f379ee076](https://community.gravityforms.com/u/user60c6f89f379ee076)\
**Post date:** [June 21, 2021, 9:03am UTC](https://community.gravityforms.com/t/get-entries-echo-confirmation-message/9813/6 "2021-06-21T09:03:49Z")

</div>

I’m thinking, maybe this is the solution of my problem :  
Is there a way to save the confirmation message in the entry ?  
Maybe in a field in pre submit post ?

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 5, 2022, 8:31am UTC](https://community.gravityforms.com/t/get-entries-echo-confirmation-message/9813/7 "2022-01-05T08:31:44Z")

</div>


