# Combine 2 forms on the server-side

**URL:** <https://community.gravityforms.com/t/combine-2-forms-on-the-server-side/5235>\
**Category:** Get Help\
**Tags:** custom\
**Created:** [June 24, 2020, 9:46pm UTC](https://community.gravityforms.com/t/combine-2-forms-on-the-server-side/5235 "2020-06-24T21:46:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rosslerenard](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/rosslerenard/32/1773_2.png) [@rosslerenard](https://community.gravityforms.com/u/rosslerenard)\
**Post date:** [June 24, 2020, 9:46pm UTC](https://community.gravityforms.com/t/combine-2-forms-on-the-server-side/5235/1 "2020-06-24T21:46:25Z")

</div>

I have one form that a customer fills out with 30 fields.  
Later, they fill out a second form with 100 fields.

How can I combine them (into one entry) so that we can do calculations on the values of these fields using GravityView gv\_math? I know it doesn’t work with data from multiple forms (if there was a workaround, I wouldn’t be typing this). The final product uses some graphing to show their computed values.

Aside from the klunky solution of combining the forms with hidden fields and values on the browser, how would I be able to stitch the two entries together or update their previous entry on the server-side? I’d prefer to avoid exposing any of this stuff on a form that can just get inspected by a nosy-competitor.

Is there some sort of _gform\_entry\_id\_pre\_save\_lead_ or _gform\_pre\_submission_ trick that I can use to write the data to a single

---

<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 4, 2022, 6:02pm UTC](https://community.gravityforms.com/t/combine-2-forms-on-the-server-side/5235/2 "2022-01-04T18:02:44Z")

</div>


