web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

How to auto populate a hidden form field?

(0) ShareShare
ReportReport
Posted on by 35

Hi there,

We have several brands with different websites containing different D365 forms. I need to know which website has generated the form fill as a record against the contact/lead to make it easy for follow-up.

So I thought putting a hidden field on the form would be a good way to do this.

But how do I populate a field with the right brand name? So that every form fill from a Contact us form has a specific brand associate with the lead?

I'd appreciate help here.

Thank you.

I have the same question (0)
  • Shiiiison Profile Picture
    10 on at

    I'd love some insight on this as well!

    Thanks Everyone!

  • mhoekstra Profile Picture
    140 on at

    Hi,

    community.dynamics.com/.../how-do-i-populate-lead-source-from-a-hidden-field-on-marketing-form might help you.

    Other way is to use javascript to populate the hidden field. See stackoverflow.com/.../using-javascript-to-populate-a-hidden-field-from-url-parameter. But you will need some scripting knowledge.

  • Suggested answer
    Nya Profile Picture
    29,060 on at

    Hi,

    The website cannot be filled in automatically by adding it into the marketing form as a form field.

    But you can find it in the Insights tab of the marketing form.

    pastedimage1654154005738v1.png

    You can export the submissions.

    Then extract the contact info from the "Form submissions" column.

    Import the Page URL based on the contact info.

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans