Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 71679

Forum Post: RE: CRM 2011 Opportunity entity

$
0
0
Hi! There are two syntax issues, you're missing an open brace "{" for setrequire(), it should be: function setrequire() { var type = Xrm.Page.getAttribute("cprs_type").getSelectedOption().text; Second, the load method is calling to set require but the syntax is off for that, you just need the name of the function: function Form_OnLoad() { setrequire(); } If you make those changes and your code still isn't being called, make sure that your form's on load event is calling into your custom javascript. Hope this helps! I'd appreciate if you'd mark this as a Verified answer. Thanks, Aiden

Viewing all articles
Browse latest Browse all 71679

Trending Articles