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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

MS Portal: Custom JScript on Entity Form and Web Page at the Same Time

(0) ShareShare
ReportReport
Posted on by

I have a custom JScript on entity form on MS Portal, simple as

$(document).ready(function () {
 // Enable or disable fields
});


Then I have some additional logic on a Web page of a Portal,

$(document).ready(function () {
 // Do some additional stuff
});

The problem is that when I have pieces of the logic in Web form , then the logic from Entity form is not working (I cannot just find the Jscript when debugging the page). Once I put all the logic on the web form -- it all works fine.

Can someone let me know if having the code

$(document).ready(function () {});

is legal on both Entity form and Web pages in MS Portal? Thank you in advance

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi ,

    Make sure  you have added jquery reference , and the jquery reference should loaded before yourr custom web resource. So check the order of the scripts in your form properties.

    Hope this helps.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans