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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM2013 : Error Msg "There was an error with this field's customized event"

(0) ShareShare
ReportReport
Posted on by

There was an error with this field's customized event.
Field:window
Event:onload
Error:undefined

Hi all,

please recommend the solution to me, if you get the msg.box above.

Thank a lot, cheer.

Van TH

*This post is locked for comments

  • VanTheamoon Profile Picture
    on at
    RE: CRM2013 : Error Msg "There was an error with this field's customized event"

    Hi Guido,

    this 's new crm 2013 and my javascript code at below:

    function contact_onSave(ExecutionObj) {
    
       if (id_card("th_contactidcard") == false) {
    
           ExecutionObj.getEventArgs().preventDefault();
    
       }
    
       var errMsg = "";
    
       errMsg = isvalidPhone("mobilephone");
    
       if (errMsg != "") {
    
           ExecutionObj.getEventArgs().preventDefault();
    
           alert('Error :: ' + errMsg);
    
       }
    
    }
    
    function contact_onLoad() {
    
    //    Xrm.Page.getAttribute("telephone1").onkeypress = isvalidPhone;
    
    //    alert('test');
    
    }

    Thank,

    Van TH

  • Verified answer
    VanTheamoon Profile Picture
    on at
    RE: CRM2013 : Error Msg "There was an error with this field's customized event"

    Hi Guido,

    I found my problem, this case JavaScript can't working anyway, because I have another scripts that call function across the form,

    example : JS on Case Form call Function inside the Contact Form.

    I not sure ,this case will found with everyone and right now I can fix it,

    Thank a lot,

    Van

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: CRM2013 : Error Msg "There was an error with this field's customized event"

    hi Van, I came across the same problem when I create SLA detail.

    Can you show me how to fix this bug?

    Many thanks 

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans