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 :
Microsoft Dynamics CRM (Archived)

hidden fields (html meaning) on crm forms?

(0) ShareShare
ReportReport
Posted on by

Hello - What is CRM's approach to using hidden fields on forms?

For example, I haven't really played around with the concept, but another developer was mentioning that you need to have a field on the form in order for that entity field value to pass through to the plugin.

However, if you simply hide the field on the form, then it won't get passed through to the plugin. Is this true? Is there a workaround? I would think that there would be some type of built-in way to implement this since I'm essentially describing functionality similar to hidden fields on standard html pages?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    Hi,

    You really only need to have hidden fields on the form if you want to dynamically show them at some point, or if you have some JavaScript that needs the value.

    If you want to pass values to a plugin that are not being updated on the form, you simply need to define a pre or post image and register it against the plugin step. msdn.microsoft.com/.../gg309673.aspx

    Does answer your question? CRM Forms are unlike normal HTML forms in that you shouldn't interact with the HTML input fields themselves, but rather use the SDK Xrm api.

    hth

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans