Set a Related Items control to read only in code

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
MES5464
Posts: 94
Joined: Mon Aug 26, 2013

04 Oct 2013

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?

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

07 Oct 2013

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
Posts: 94
Joined: Mon Aug 26, 2013

07 Oct 2013

Ok. That is a great idea. Thank you.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests