Personalizing forms based on the current user membership and field values.
Posted by ching29 - Mar 19 ’14 at 09:22
I found a tutorial video that personalize forms based on its current user membership and field values but it is using the group functionality that is NOT supported in Office 365. Is there any workaround about this? Please advise. Thank you.
-
Dmitry KozlovAdminMember for: 9 years 4 months 11 days
Hello,
Thank you for your question. You are correct, Forms Designer for Office 365 does not support Groups functionality. You can find the complete list of differences on the following page:
http://spform.com/documentation/editions-comparison
As for workaround, you can put HTML-control onto your form and place the following code there:
<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>
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:
-
ching29MemberMember for: 8 years 10 months 19 days
Hi Dmitry,
What if I want to have a rule based on a scpecific field?
-
Dmitry KozlovAdminMember for: 9 years 4 months 11 days
[#2]: 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://formsdesigner.blogspot.com/2013/03/how-to-create-dynamic-forms-with-forms.html
-
Si TienMemberMember for: 5 years 10 months 18 days
Do you have plan this function on O365?
-
Dmitry KozlovAdminMember for: 9 years 4 months 11 days
[#4]: Hi,
Here is a workaround for Forms Designer for Office 365:
https://spform.com/groups-and-form-sets/providing-different-forms-different-users-sharepoint-online
Please, ask future questions in our new forum: