web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • Suggested answer
    Nya Profile Picture
    29,060 on at
    RE: How to auto populate a hidden form field?

    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.

  • mhoekstra Profile Picture
    140 on at
    RE: How to auto populate a hidden form field?

    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.

  • Shiiiison Profile Picture
    10 on at
    RE: How to auto populate a hidden form field?

    I'd love some insight on this as well!

    Thanks Everyone!

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 141

#2
DAnny3211 Profile Picture

DAnny3211 134

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans