# New Pricing Field Type - Pass total to the Total Field Type - How?

**URL:** <https://community.gravityforms.com/t/new-pricing-field-type-pass-total-to-the-total-field-type-how/10462>\
**Category:** Get Help\
**Tags:** gform\_product\_info, gform\_form\_post\_get\_meta, gform\_product\_total\
**Created:** [July 27, 2021, 9:35pm UTC](https://community.gravityforms.com/t/new-pricing-field-type-pass-total-to-the-total-field-type-how/10462 "2021-07-27T21:35:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lwoods](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/lwoods/32/3287_2.png) [@lwoods](https://community.gravityforms.com/u/lwoods)\
**Post date:** [July 27, 2021, 9:35pm UTC](https://community.gravityforms.com/t/new-pricing-field-type-pass-total-to-the-total-field-type-how/10462/1 "2021-07-27T21:35:43Z")

</div>

I have created a Custom Field Type that generates a price. I need to pass that to the Total Field so that it can be picked up for Credit Card processing.

I can’t find any doc on how to do that.

Thanks

---

<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:** [July 28, 2021, 7:11am UTC](https://community.gravityforms.com/t/new-pricing-field-type-pass-total-to-the-total-field-type-how/10462/2 "2021-07-28T07:11:48Z")

</div>

You’ll need to use the JS based [gform\_product\_total](https://docs.gravityforms.com/gform_product_total/) filter to include the value in the live total.

The PHP based [gform\_product\_info](https://docs.gravityforms.com/gform_product_info/) filter will also need to be used to include the field in the order details used by payment add-ons and the order summary table output by the {all\_fields} merge tag and on the entry details page.

---

<div class="post-metadata">

**Author:** ![lwoods](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/lwoods/32/3287_2.png) [@lwoods](https://community.gravityforms.com/u/lwoods)\
**Post date:** [July 28, 2021, 4:53pm UTC](https://community.gravityforms.com/t/new-pricing-field-type-pass-total-to-the-total-field-type-how/10462/3 "2021-07-28T16:53:34Z")

</div>

Thanks for your quick and informative response.

One last question: What is the filter that can replace defining render, validation, submission, and admin-pre\_render filters? There is one, isn’t there?

---

<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:** [July 29, 2021, 2:55am UTC](https://community.gravityforms.com/t/new-pricing-field-type-pass-total-to-the-total-field-type-how/10462/4 "2021-07-29T02:55:07Z")

</div>

Yes there is!

> **[gform\_form\_post\_get\_meta](https://docs.gravityforms.com/gform_form_post_get_meta/)**
>
> This filter can be used to manipulate the Form Object, it is executed when the form meta is retrieved.

---

<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:** [September 27, 2021, 2:55am UTC](https://community.gravityforms.com/t/new-pricing-field-type-pass-total-to-the-total-field-type-how/10462/5 "2021-09-27T02:55:35Z")

</div>

Closed on September 27, 2021, 2:55am UTC

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