Title: Javascript callback function :: how to create object with submission details
Last modified: August 30, 2016

---

# Javascript callback function :: how to create object with submission details

 *  Resolved [cichy](https://wordpress.org/support/users/cichy/)
 * (@cichy)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-callback-function-how-to-create-object-with-submission-details/)
 * Hi,
 * I was searching for a solution on how to pass submission details and specifically
   the entry id into the Javascript callback function which is described here in
   this [article](https://calderawp.com/doc/custom-processing-of-caldera-forms-submissions/)
   but the most important part (example) is missing. The same issue [here](https://calderawp.com/code-snippets/caldera-forms-custom-javascript-callback/).
 * What I am trying to achieve is to pass entry id as an order id into the tracking
   code.
 * I am able to call the javascript callback function with the tracking code inside
   of it on ajax submission but I don’t know how to get the value of entry id and
   pass it to the code.
 * Would someone be able to help me with it?
 * Thank you,
    Przemek
 * [https://wordpress.org/plugins/caldera-forms/](https://wordpress.org/plugins/caldera-forms/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Josh Pollock](https://wordpress.org/support/users/shelob9/)
 * (@shelob9)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-callback-function-how-to-create-object-with-submission-details/#post-6524659)
 * I’m marking this resolved as I’m answering here: [https://wordpress.org/support/topic/javascript-callback-function-how-to-create-object-with-submission-details-1?replies=5#post-7407844](https://wordpress.org/support/topic/javascript-callback-function-how-to-create-object-with-submission-details-1?replies=5#post-7407844)

Viewing 1 replies (of 1 total)

The topic ‘Javascript callback function :: how to create object with submission 
details’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/caldera-forms_475846.svg)
 * [Caldera Forms - More Than Contact Forms](https://wordpress.org/plugins/caldera-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/caldera-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/caldera-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/caldera-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/caldera-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/caldera-forms/reviews/)

## Tags

 * [callback](https://wordpress.org/support/topic-tag/callback/)
 * [submission](https://wordpress.org/support/topic-tag/submission/)
 * [variables](https://wordpress.org/support/topic-tag/variables/)

 * 1 reply
 * 2 participants
 * Last reply from: [Josh Pollock](https://wordpress.org/support/users/shelob9/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-callback-function-how-to-create-object-with-submission-details/#post-6524659)
 * Status: resolved