Asked by:
There was an error with this field's customized event - On appointment form load

Question
-
Hi All,
When we click on New Appointment button, and the form loads we get the below error. Please note that there are no scripts written on appointment form.
We found few others (see below link) who are facing it on OnSave and not on OnLoad, but we still do what they suggest.
https://community.dynamics.com/crm/f/117/t/116014.aspx
And this actually worked, and we didnt see this error anymore on form load. However, the downside was Start and End Date fields on Apppointment wouldnt populate, and another intermiittent behavior which we get on saving the record - INVALID ARGUMENT. See below link for this.
https://social.microsoft.com/Forums/en-US/86e73982-4765-4029-8adf-3d8fff2e29dd/invalid-argument-while-creating-appointment-record?forum=crm#a81ffe14-4053-48ef-b0f4-f92ed0ca77c6
So we are back to square one, reverting the changes we did. Annd now we again get the first error which is onload error.
Can anybody suggest whats causing this or whether its a known issue?
Regards,
Yogesh
Thursday, December 11, 2014 1:42 PM
All replies
-
post here the javascript code that is attached to the onload event, so we can try to figure out what is not working.
My blog: www.crmanswers.net - Rockstar 365 Profile
Thursday, December 11, 2014 3:07 PM -
Hi,
Check if the solution given in the below blog helps you. They issue seems same:- Error in Appointment on load and no javascript.
It says "simply add "Is All Day Event" to your Form (make it invisible if required) and you should see that it solves the issue".
Hope this helps!!!
Thanks,
Prasad
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.
Friday, December 12, 2014 4:44 AM -
post here the javascript code that is attached to the onload event, so we can try to figure out what is not working.
There isnt any jaavascript that we have written on the form.
My blog: www.crmanswers.net - Rockstar 365 Profile
Friday, December 12, 2014 11:02 AM -
Hi,
Check if the solution given in the below blog helps you. They issue seems same:- Error in Appointment on load and no javascript.
It says "simply add "Is All Day Event" to your Form (make it invisible if required) and you should see that it solves the issue".
Hope this helps!!!
Thanks,
Prasad
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.
Friday, December 12, 2014 11:03 AM