Restrict certain fields in an infopath form to only allow certain users(Approver and Created by] to edit - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Restrict certain fields in an infopath form to only allow certain users(Approver and Created by] to edit

Last post 11-28-2016 07:43 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-22-2016 07:54 AM

    Restrict certain fields in an infopath form to only allow certain users(Approver and Created by] to edit

    Hello, Is it possible to restrict certain fields in a library InfoPath form to only allowing certain users [Approvers and Created By] to edit? For example,I would disable a status field in the form if the current user is not equal to the [created by] and the [approver], can I do that in InfoPath form ? I did this: -Created a TextBox name's: CurrentUser and In this text box appears the current user - It's Working -In field date I created this rule: IF CurrentUSer different Requestor and filename is not blank - Disable this control -> It's working if I'm not the Requestor the date is disable - After I add this to the rule created before: If currentUser different Approver and filename is not blank - Disable this control So the rules now is: IF CurrentUSer <>Requestor or CurrentUser <>Approver and filename is not blank - Disable this control -> It works but I am the Requestor and when I open the form after submitting the Data it continues Disable .. I am supposed to be able to edit the date. That is, only Requestor and Approver can edit the form after submitting. What's is missing?
  • 11-28-2016 07:43 AM In reply to

    Re: Restrict certain fields in an infopath form to only allow certain users(Approver and Created by] to edit

     I think you need "and" instead of "or" here - so, if the current user is not the requestor AND if the current user is not the approver AND if the filename is not blank....

    Hilary Stoupa

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