Wednesday, May 16, 2012

Set `scheduledend` on Appointment to null with Javascript

I'm writing javascript on Appointment form and need to clear scheduledend DateTime field.



Tried the obvious way, but it did not work.



Xrm.Page.getAttribute('scheduledstart').setValue(null);
Xrm.Page.getAttribute('scheduledend').setValue(null); // Both do nothing


How do make DateTime field blank?





No comments:

Post a Comment