Skip to content

Commit

Permalink
Contact form drift code testing
Browse files Browse the repository at this point in the history
  • Loading branch information
raj-bluetext committed Aug 8, 2024
1 parent 496c1e7 commit 4993c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/marketo-2/marketo-2.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const embedMarketoForm = (marketoId, formId, successUrl) => {
window.MktoForms2.loadForm('//go.merative.com', `${marketoId}`, formId, (form) => {
console.log('object1');
// Add an onSuccess handler
form.onSuccess(() => {
form.onSuccess((values) => {
console.log('Form submitted successfully');
// location.href = successUrl;
// if (window._satellite) {
Expand Down

0 comments on commit 4993c5d

Please sign in to comment.