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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Field Mandatory Issue in Portal

(0) ShareShare
ReportReport
Posted on by

Hi Folks,

While making fields mandatory on Portal. it's not appending '*' to the field label.

Pls suggest is this the OOB behavior or any alternative way to achieve that.

*This post is locked for comments

I have the same question (0)
  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    Making a field required in your entity field properties should set the field as required in Portals.

    Please make sure that you have published your solution and that your refreshed your browser window. You might need to use CTRL+F5 to refresh.

    Hope this helps.

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hello ,

    Please refer below article where Arpit  has given very nice explanation about this -

    arpitmscrmhunt.blogspot.in/.../client-side-validation-using-javascript.html

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    6,211 on at

    make sure you clear the cache by below step

    To clear the server-side cache

    Sign in to the portal as an administrator.

    Navigate to the URL as follows: <portal_path>/_services/about

    Select Clear Cache.

  • Verified answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at

    Hi,

    It's by design. When you make the field mandatory for portal only using Entity Form Metadata it does not show asterisk *.

    You can write your own code to achieve this:

     $('#inputfield_label_id').after('<span id="spanId" style='color: red;'> *</span>');  

     

    Can check here also - http://arpitmscrmhunt.blogspot.in/2017/01/client-side-validation-using-javascript.html

     

     

    If my answer helped to resolve your issue, kindly verify it by clicking 'Yes'. It would be helpful to the other community members seeking to resolve a similar issue.

    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.in

     

     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans