Personalizing forms based on the current user membership and field values.

rss

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 Kozlov
    Dmitry Kozlov
    Admin
    Member for: 6 years 2 months 20 days
    #1 by Dmitry Kozlov Mar 21 ’14 at 01:51

    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:

    http://msdn.microsoft.com/EN-US/library/ms412690

  • ching29
    Member
    Member for: 5 years 8 months 28 days
    #2 by ching29 Mar 22 ’14 at 10:42

    Hi Dmitry,

    What if I want to have a rule based on a scpecific field?

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 6 years 2 months 20 days
    #3 by Dmitry Kozlov Mar 24 ’14 at 04:04

    [#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 Tien
    Si Tien
    Member
    Member for: 2 years 8 months 27 days
    #4 by Si Tien Mar 14 ’17 at 04:05

    Do you have plan this function on O365?

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 6 years 2 months 20 days
    #5 by Dmitry Kozlov Mar 14 ’17 at 04:17

    [#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:

    https://spform.com/forum/

Displaying 1 to 5 of 5 messages