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)

Adding static guidance text to a form layout

(0) ShareShare
ReportReport
Posted on by

Hi there,

We would like to be able to add guidance text to a form in CRM 2016.

Eg. "This information is required as emergency contact details and will only be available to your line manager"

I understand you can add information into a field description which then appears if you hover the mouse over the field label on the form, but we would prefer a way of adding static text at the top of a form section.

Has anybody found a way of doing something similar?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    MilindP Profile Picture
    1,019 on at

    You can create a html web resource and show it on the form above the field

  • Suggested answer
    Community Member Profile Picture
    on at

    I think what you want to use is a static text box. You can achieve this by right clicking on the parent group>new>Static Text. There is a field in properties called Text in which you can write text.

  • Suggested answer
    Glenn.J Profile Picture
    on at

    Hi All,

    This is the easiest way I found to add static text after a field on an Entity Form / Section.

    Added the following to a Content Snippet that is included in my Web Template.

    if (activeWebFormStep === "Details") {
      let divinfo_Instructions = '<div><label id="lblInstructions" class="field-label">Add Static Text Instructions to Entity Form Section.</label></div>'


      $("#new_dataversefieldname).closest("tr").after(divinfo_Instructions);
    }

  • kailashr2k6 Profile Picture
    50 on at

    If this text needs to be visible and addressing the whole form then you can use the setFormNotification function in the JavaScript.

    In case you need to show this static message next to a field or top of the field then you can use the PCF control (github.com/.../Simple-Text-Control-PCF) this will help you accomplish it. There is a drawback to this approach that you need to create a dummy field that won't store anything but just to display this text.

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