How do I post an associateLead call and then submit a form? | Community
Skip to main content
January 14, 2014
Question

How do I post an associateLead call and then submit a form?

  • January 14, 2014
  • 1 reply
  • 582 views
I want to post form data to Marketo before submitting it to an existing system. It seems that there is no way to tie into the asychronous creation of the tracking pixel, so synchronous form submissions cause the associateLead call to be abandoned.

Is there any callback facility built into the mktoMunchkinFunction function?

I tried overriding the _MchHlpr.doImageGet function after Munchkin loads, but that seems to get overwritten at some point before I actually post to the endpoint. I can keep trying but would love to know if someone has already solved this.
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

January 15, 2014
What is the use case for that custom submission?

When a submit handler runs there's no hash of the form data that you can add to or modify. The option is either $.post() or to append hidden inputs to the form.