Hi,
I want to save date & time field in CRM using JS.
I tried formContext.getAttribute("date").setValue(d);
Thanks in advance
Hi,
What is d that you are setting?
Are you getting any error?
I tried below code on my instance and it worked.
var currentDate = new Date();
formContext.getAttribute("birthdate").setValue(currentDate);
mscrmonline.wordpress.com/.../
Please mark my answer verified if this is helpful!
Regards,
Bipin Kumar
Follow my Blog: xrmdynamicscrm.wordpress.com/
Muhammad Shahzad Sh...
51
Most Valuable Professional
Ramesh Kumar
42
David Shaw_UK
27