Thursday 19 July 2012

Adding same field more than one time in 2011 CRM form.

There is one more good feature introduced in CRM 2011, that is adding the same field more than one time in single form. But while implementing java script, it is causing some problems. For eg: I have 'Name' field two times in a form, i want to hide the second field based on some condition. But if we apply javascript for that field name it will hide both the fields. So the simple way is to add number to the fieldname.


  Eg :


Xrm.Page.getControl('name').setVisible(true);
Xrm.Page.getControl('name1').setVisible(false);


This will work.


Happy CRMing........

No comments:

Post a Comment