Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Overriding the DateTime field in the Entity Form

$
0
0

Hi,

I have added logic to set datetime field on creation of task record in the Task entity.

if (formType == 1) {

 Xrm.Page.getAttribute("datetime").setValue(new Date());

}

But when I try to create it from UI and changed the Time  of the "datetime" field and tried to Save it.

It is not saving with the changed time. It is saving with current datetime only..


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>