Add an information message in CRM form
With the following script, you can add an information message to a CRM form var newcontent = document.createElement("div"); newcontent.id = "message"; newcontent.style.border = "solid 1px black"; newcontent.style.marginLeft = "10px"; newcontent.style.marginRight = "10px"; newcontent.style.marginTop = "0px"; newcontent.style.marginBottom = "4px"; newcontent.innerHTML = "<table border="'0'" cellspacing="'0'" cellpadding="'4'"><tr><td style='width:20px;background-color:#FFFFAE'><img src="'/ico/16_info.gif'/" /></td><td style='font-family:Tahoma;font-size:11px;padding-left:8px;background-color:#FFFFAE;width:100%'>This is an information message.</td></tr></table>"; var scr = document.getElementById(elementId); scr.insertBefore(newcontent, scr.firstChild); Juste replace ele...