Pardot Form Handlers and Kentico Forms

Dan Lukens asked on January 2, 2019 19:41

Does anyone here have experience using Padot form handlers in conjuction with Kentico? We use both system and would like to integrate our Kentico created forms with our Pardot emails and automations, but I'm not sure of the best way to use form handlers with Kentico.

Thank you!

Recent Answers


Jan Hermann answered on January 3, 2019 15:11

The best way would be to listen on a global event when a form record is created:

https://docs.kentico.com/k12/custom-development/handling-global-events

In your case the event would be ObjectEvents.Insert.After where you check whether the object is BizFormItem and in case it is, you do your Pardot stuff.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on January 3, 2019 21:43

Aside from the global handlers, you might want to simply clone the biz form web part (/CMSWebParts/BizForms/bizform.aspx.cs) and have 2 form web parts. One for Kentico only forms and another for Kentico and Pardot forms which will handle your Pardot events in it.

The concept is the same as what Jan suggests with global events although it only fires when that web part is used vs. every form insertion.

The 2 events you can use in the Bizform web part are:

  • OnBeforeSave()
  • OnAfterSave()
0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.