Announcements
No record found.
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:
https://docs.microsoft.com/en-us/dynamics365/marketing/developer/marketing-form-client-side-extensibility
Thank you
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.
https://docs.microsoft.com/en-us/dynamics365/marketing/developer/marketing-form-client-side-extensibility#form-capturing-behavior-customization
Regards,
Clofly
Were you able to fix the issue?
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/.../
Nishant Rana
One option is to call the click event of the submit button - nishantrana.me/.../
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 166 Super User 2026 Season 1
Jimmy Passeti 51 Most Valuable Professional
NeerajPawar 51