locked
JScript for making fields read only based on general tab and sub tabs ? RRS feed

  • Question

  • HI All,

    I have a requirement like onload some of the fields should be read only .But all these fields are located in different tabs under main tab, so based on tab and sub tab name fields should be get read only ...

    Please give me some code...

    Tuesday, May 27, 2014 6:48 AM

Answers

  • Xrm.Page.getControl("fieldname").setDisabled(true);

    This is "some code". This code allows to disable field. I'm really sorry but your requirements are not clear.

    Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
    My blog

    Tuesday, May 27, 2014 6:59 AM
    Moderator

All replies