How to make a field can only modified by a selected user? - InfoPath Dev
in

InfoPath Dev

How to make a field can only modified by a selected user?

Last post 02-14-2022 07:49 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-13-2022 07:40 PM

    How to make a field can only modified by a selected user?

    Hi, I have a infopath form that I would like to use in a sharepoint list. I wonder if it is possible to make a field can only be modified by a selected user? See attached picture as an example, I want only the user selected as the supply chain approver can choose the status filed as approve, reject or return. Thank you!
  • 02-14-2022 07:49 AM In reply to

    Re: How to make a field can only modified by a selected user?

    You won't be able to control this in the list itself (i.e. if the user opens the list, and puts it in quick edit mode or something). But in the form, you can check if the Supply Chain Approver accountid field is not equal to the username function. For the conditional formatting on the status field, in the first dropdown, find the group for the Supply Chain Approver (you will have to put the data source in advanced mode) and select the account id field inside it. For the second dropdown, select "is not equal to". For the third dropdown, use a formula or group, and in the functions, select the user name function. Then you can select formatting to disable the control.
    Hilary Stoupa

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.