Hello Community
I found this helpful article on how to prevent personal email accounts from submitting a marketing form Restrict Dynamics 365 Marketing Landing Page Form Submissions — Amey Holden | ABC Enthusiast & Power Platform Specialist, however I am curious if there is another approach which code could be introduced on the form instead of having to update code on the webpage which the form will be embedded on. We have gated content which we do not want to allow those submitting with personal emails addresses to access the content.
We have several different contact forms embedded externally on our company website for different products, so using the javascript method suggested by Amey Holden, code will need to be created for each form so it includes the proper unique Form ID for each and added to each webpage's code so it works as intended. If changes are made, we would have to ensure the custom javascript included on each webpage will still work or if the Form ID will need to be changed.
I'd like to see if there is a way to add code to the Form's code and not the webpage code and achieve similar results of preventing personal email accounts from entering their personal email or from submitting our Dynamics Marketing Forms.
TYIA for any suggestions and feedback.