Set a Related Items control to read only in code

rss

Posted by MES5464 - Oct 4 ’13 at 09:19

I know you can set the related items object to read only in the editor but how can I set the related items object to read only in javascript?

 

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 9 years 8 months 16 days
    #1 by Dmitry Kozlov Oct 7 ’13 at 12:14

    Hello,

    You cannot make it with JavaScript (actually you can, but it's not a trivial task). I can recommend you to use Forms Designer groups to design multiple forms with Related Items in edit and readonly modes. Based on the specific condition SharePoint will show the appropriate forms to your users.

  • MES5464
    Member
    Member for: 9 years 9 months 12 days
    #2 by MES5464 Oct 7 ’13 at 09:22

    Ok. That is a great idea. Thank you.

Displaying 1 to 2 of 2 messages