Hello,
is it possible to change Marketing Form Attributes in JavaScript and automatically submit the form.
I added a script inside the parent Marketing Page and I can interact with the event-object.
Right now I'm not able to submit the form.
(function() {
MsCrmMkt.MsCrmFormLoader.afterformrender = function() {
//code here
event...
};
})();
Is there a supported way to submit the form data directly in this method? I just found this documentation:
Thank you
One option is to call the click event of the submit button - nishantrana.me/.../
Hi Defne,
Hope you are doing well.
Which method are you referring in the document for form submission ? We could see one for formcapture, is there a similar method for embedded form
learn.microsoft.com/.../marketing-form-client-side-extensibility
Something like this - developers.marketo.com/.../
Regards,
Nishant Rana
Hi Patrick,
Were you able to fix the issue?
Hi Patrick,
Could you let me know what customization would you like to add to marketing form? Such as populating form fields with data after the form is rendered.
Why couldn't you submit the form? Please open console and check whether there is any error.
If using embedded marketing form, it is not supported to submit data with code directly.
You could switch to form capture and send submission manually with sendFormCaptureToCrm function.
Regards,
Clofly
Daivat Vartak (v-9d...
225
Super User 2025 Season 1
Muhammad Shahzad Sh...
106
Most Valuable Professional
Eugen Podkorytov
95