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)

Entity Form - Placeholder for textboxes

(0) ShareShare
ReportReport
Posted on by 160

Hi experts,

I want to add placeholders for textboxes on my Entity form. Is there a way were we can have this implemented through the Entity form metadata or anything else? 

Below is the image how it should look like.

Let me know if you need any more clarification.

Regards,
Sagar

*This post is locked for comments

I have the same question (0)
  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    Image missing.

  • SD_Dev Profile Picture
    160 on at

    Apologies, here is the image

    Placeholder_5F00_EntityForm.png

  • Tino Rabe Profile Picture
    652 on at

    Hi Sagar,

    have you checked the tooltip functionality?

    This is not exactly meeting your requirements as tooltips are only exposed when the user hovers over the field, but it is a supported functionality to give some more info to the Portal user.

    Regards,

    Tino

  • SD_Dev Profile Picture
    160 on at

    Hi Tino,

    Thanks for your response. 

    Yes, I have tried that but that is not what I am after.

    Having a placeholder on the textboxes will be more informative as users won't be aware of the hover feature and it is not very user friendly.

    Thanks.

  • ashlega Profile Picture
    34,477 on at

    Hi,

     I think the best you can do (if you want it to work exactly like that) is to create an html web resource. Have a text box there, add some javascript.. then, in the on-load, initialize that web resource from the field value. Once the text in that text box is updated, push it back to the underlying Dynamics field (through javascript again)

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Sagar,

    I am not exactly sure what you are looking for as this comes by default if you have a multi line textbox in CRM. Check the below layout of Entity Form & CRM Form.

    Entity Form

    Entity_5F00_Multiline.png

    CRM FORM

    Entity_5F00_Multiline.png

    Hope this helps

  • SD_Dev Profile Picture
    160 on at

    Hi Ravi,

    This is regarding the placeholder text not the value added in the text box from the CRM.

    contactform7.com/setting-placeholder-text

    Regards

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Sagar,

    You could add the text using the Attribute Metadata - Add Description property but this would place the text to the following location (and *not* inside the field as watermark)-

    1. Above the field

    2. Below the field

    3. Above the Lable

    community.adxstudio.com/.../9f718f93-2b89-485e-9062-d561435686a7

    community.adxstudio.com/.../entity-form-metadata

    If you are looking for the exact look & feel then you need to write some JavaScript to achieve that (as suggested by Alex above).

    Hope this helps.

  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    You can do this with jquery:

    $(document).ready(function () {

     // Add Placeholders for Tax Information

     $("#new_ein").attr("placeholder", "Enter your Tax Id (with no dashes)" );

     $("#new_ssn").attr("placeholder", "Enter your Social Security Number (with no dashes)" );

    });

  • Verified answer
    SD_Dev Profile Picture
    160 on at

    I have done using some javascript on CRM forms. It works well.

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