Personalizing forms based on the current user membership and field values.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hello,
Thank you for your question. You are correct, Forms Designer for Office 365 does not support Groups functionality.
As for workaround, you can put HTML-control onto your form and place the following code there:
As you may see, you can define JavaScript code which will be executed for users which have the specific right only. So, you can hide fields via JS-framwork for all users in the first JavaScript block and show them to users with the required permission only in the second JavaScript block.
You can find the complete list of permissions in the following article:
http://msdn.microsoft.com/EN-US/library/ms412690
Thank you for your question. You are correct, Forms Designer for Office 365 does not support Groups functionality.
As for workaround, you can put HTML-control onto your form and place the following code there:
Code: Select all
<script type="text/javascript">
// This code will be executed for all users
</script>
<SharePoint:SPSecurityTrimmedControl runat="server" PermissionsString="ManageWeb">
<script type="text/javascript">
// This code will be executed for users with Manage Web permission only
</script>
</SharePoint:SPSecurityTrimmedControl>
You can find the complete list of permissions in the following article:
http://msdn.microsoft.com/EN-US/library/ms412690
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
You can retrieve field values via JavaScript framework and modify other fields or hide/show them based on these values. Please, see the following post to get more information:
http://spform.com/forms-designer- ... point-2010
http://spform.com/forms-designer- ... point-2010
-
- Information
-
Who is online
Users browsing this forum: No registered users and 19 guests