Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

There was an error with this field's customized event

(0) ShareShare
ReportReport
Posted on by

I created a form on contact entity, and create sub-grid (nationality) and bind with nationality entity in 1:N relationship, but on contact form's sub-grid + (Add New) button not shown

1513.test1.png


The problem are not only come with this sub-grid, Its come with all sub-grid of form.

After change the ‘Legacy form rendering’, + button show on form but I got some alert like

4380.test.png

and all onload function are not work.  

How can i resolve the issue "There was an error with this fields customized event"?

*This post is locked for comments

  • Suggested answer
    Priyesh Profile Picture
    Priyesh 7,396 User Group Leader on at
    RE: There was an error with this field's customized event

    Also, in JS, make sure you have mentioned the name of the function correctly. From the JS error, it looks like it is not able to read the function mentioned in the Form Properties. The name of the function in the Form Properties does not match and you'll also need to check if your JS file loaded correctly in browser (sometimes, you need to refresh one more time in case the file hasn't loaded correctly)

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 Moderator on at
    RE: There was an error with this field's customized event

    Hi Pawan,

    This an error coming from Javascript.

    As suggested by Andreas, you need to debug/analyse your script.

    how many scripts you have on the form, and how many methods you have registered on the form on load?

    Try disbaling the events to see if the error disappears

  • Andreas Cieslik Profile Picture
    Andreas Cieslik 9,267 on at
    RE: There was an error with this field's customized event

    What if you remove all onload functions and scripts from your contact form?

    Will it work then? If so, then I would analyse/debug each onload function and activate each step by step.

    You might have a syntax error in your JavaScript code.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans