积极答复者
CRM form中如何实现对字段加上鼠标注解

问题
答案
-
你可以在onload事件动态注入HTML标识ALT
http://www.cnblogs.com/MSCRM/articles/1704479.html
http://jianwang.blogspot.com/2008/09/customize-crmform.html
/* append text under new_button */ if(crmForm.all.new_button != null) { var html= document.createElement( "<LABEL>"); html.innerText = "this is a text field"; crmForm.all.new_button.parentNode.appendChild(html); }
Jim Wang - MVP Dynamics CRM - http://jianwang.blogspot.com, http://www.mscrm.cn
- 已标记为答案 Batistuta CaiModerator 2010年9月17日 0:29
-
If you are using the CRM2011 beta, here is an example about how to update the tooltips of both the Account Name "Label" and the Account Name "Field"
1. Create a JScript type Web Resource
-
- Navigate to Settings>Customizations>Customized the System>New>Web Resource
- In the Web Resource editor, enter Name as "new_myjs", select JScript type, and click Text Editor and paste the following code
function myOnload()
{
document.getElementById("name_c").title="New tooltip"; //Update the tooltip of the Account Name Label
document.getElementById("name").title="New tooltip"; //Update the tooltip of the Account Name Field
}
c. Save and Close the Web Resource edtior(This would also publish the Web Resource)
2.Launch the Account Form Editor
- Navigate to Settings>Customizations>Customized the System>Entities>Account>Forms>Main Form
- Click Form Properties
- Click Add button in the Event tab Form Libraries section
- Select the new_myjs and click OK
- Click Add button in the Event Handlers section(Make sure Control=Form and Event =OnLoad)
- Enter "myOnload" in the Function
- Make sure the enabled box is checked
- Click OK twice
- Click Save
- Click Publish
- Click Save and Close
3. Launch Account Form
- 已标记为答案 Batistuta CaiModerator 2010年9月17日 0:29
-
全部回复
-
你可以在onload事件动态注入HTML标识ALT
http://www.cnblogs.com/MSCRM/articles/1704479.html
http://jianwang.blogspot.com/2008/09/customize-crmform.html
/* append text under new_button */ if(crmForm.all.new_button != null) { var html= document.createElement( "<LABEL>"); html.innerText = "this is a text field"; crmForm.all.new_button.parentNode.appendChild(html); }
Jim Wang - MVP Dynamics CRM - http://jianwang.blogspot.com, http://www.mscrm.cn
- 已标记为答案 Batistuta CaiModerator 2010年9月17日 0:29
-
If you are using the CRM2011 beta, here is an example about how to update the tooltips of both the Account Name "Label" and the Account Name "Field"
1. Create a JScript type Web Resource
-
- Navigate to Settings>Customizations>Customized the System>New>Web Resource
- In the Web Resource editor, enter Name as "new_myjs", select JScript type, and click Text Editor and paste the following code
function myOnload()
{
document.getElementById("name_c").title="New tooltip"; //Update the tooltip of the Account Name Label
document.getElementById("name").title="New tooltip"; //Update the tooltip of the Account Name Field
}
c. Save and Close the Web Resource edtior(This would also publish the Web Resource)
2.Launch the Account Form Editor
- Navigate to Settings>Customizations>Customized the System>Entities>Account>Forms>Main Form
- Click Form Properties
- Click Add button in the Event tab Form Libraries section
- Select the new_myjs and click OK
- Click Add button in the Event Handlers section(Make sure Control=Form and Event =OnLoad)
- Enter "myOnload" in the Function
- Make sure the enabled box is checked
- Click OK twice
- Click Save
- Click Publish
- Click Save and Close
3. Launch Account Form
- 已标记为答案 Batistuta CaiModerator 2010年9月17日 0:29
-