Thursday, August 2, 2012

Hide Date part from CRM DateTime Field on CRM form in MS CRM 2011


function removeDateField(attribute) {
    document.getElementById(attribute).childNodes[0].childNodes[0].style.display = "none";
    document.getElementById(attribute).childNodes[0].childNodes[1].style.display = "none";
}

1 comment:

Anonymous said...

Hi Chandan,
Thanks for the article.
I have one question - Do you know any way to hide date part and show only time in DateTime field?