locked
Error occure when revise Quote RRS feed

  • Question

  • Hi,

    I have customized some Jscript in the quote form and error pop up alert me when i revise quote as below detail;

    "There was an error with this field's customized event

    Field:crmForm

    Event:onload

    Error:

    I wonder why nothing information tell me the cause of the error. Please suggest me. Thanks in advance

    Monday, November 1, 2010 2:42 AM

Answers

  • If the debugger points to the "exec()" method line of the Form's OnLoad handler script, it's possible that your code has a syntax error, and it cannot be parsed by the interpreter.  I recommend passing your code to JSLint to see if there are any such syntax errors.
    Dave Berry - MVP Dynamics CRM - http:\\crmentropy.blogspot.com
    Monday, November 1, 2010 5:56 PM
    Moderator
  • Hi Gal,

     

    I have seen most of the Times CRM developers use to say that they don't really see JavaScript errors on the CRM form ...........I Suggest everyone to allways go for debugging so that you can see whats going on inside the JavaScript......

     

    Tip: Allways Try to Debug the JavaScript.........whether its working or not so that for next time you are aware of your JavaScript being placed on form


    Nothing is Impossible!! My Blog http://kumar-mscrm40.blogspot.com/
    • Marked as answer by OrdinaryGal Wednesday, November 17, 2010 3:05 AM
    Tuesday, November 2, 2010 4:43 AM

All replies

  • Hi

    just put the following line at the top of form_load event
    debugger;

    and unchecked the 'Disable Script Debugging' in tools----internetoptions---advanced tab

    when you open the page, system will prompt you to debug the code. press yes and go line by line to sort out the problem.

    Most probably its just a simple syntax error.

    I hope it helps


    Amreek singh Senior CRM Consultant CDC Praxa Sydney, Australia http://mscrmshop.blogspot.com
    Monday, November 1, 2010 5:27 AM
  • Hi,

    I've tried to debug it and nothing error in my Jscript that i have written.  I'm not sure that this error from the system ? Please suggest me. Thanks in advance

    Monday, November 1, 2010 7:20 AM
  • Have you tried the script with IE8?
    Paradise lies at the feet of thy mother. - Prophet Mohammed (PBUH)
    Monday, November 1, 2010 7:39 AM
  • If the debugger points to the "exec()" method line of the Form's OnLoad handler script, it's possible that your code has a syntax error, and it cannot be parsed by the interpreter.  I recommend passing your code to JSLint to see if there are any such syntax errors.
    Dave Berry - MVP Dynamics CRM - http:\\crmentropy.blogspot.com
    Monday, November 1, 2010 5:56 PM
    Moderator
  • Can you post your code on the forum?


    Amreek singh Senior CRM Consultant CDC Praxa Sydney, Australia http://mscrmshop.blogspot.com
    Monday, November 1, 2010 10:20 PM
  • I will followed that DavidBerry suggestion. Thank you for all of you
    Tuesday, November 2, 2010 4:35 AM
  • Hi Gal,

     

    I have seen most of the Times CRM developers use to say that they don't really see JavaScript errors on the CRM form ...........I Suggest everyone to allways go for debugging so that you can see whats going on inside the JavaScript......

     

    Tip: Allways Try to Debug the JavaScript.........whether its working or not so that for next time you are aware of your JavaScript being placed on form


    Nothing is Impossible!! My Blog http://kumar-mscrm40.blogspot.com/
    • Marked as answer by OrdinaryGal Wednesday, November 17, 2010 3:05 AM
    Tuesday, November 2, 2010 4:43 AM