InfoPath Form not becoming Read Only after submission - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

InfoPath Form not becoming Read Only after submission

Last post 03-25-2021 07:34 AM by Hilary Stoupa. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-22-2021 02:55 PM

    InfoPath Form not becoming Read Only after submission

    I have a form. It is a little complex. I received a lot of information from the previous IT company that supported it. There is a SOAP API that gets employee information. That is used on the form load to populate the fields in the form. That works just fine. But when I submit the form I am only doing a small test right now with hiding the submit button and making some fields read-only. And that is not working. Under the Form Submit tab on the RUles ribbon, I have added three rules 1) Set variable submitted = "1" This will make the boolean true 2) Submit data using data connection to SharePoint Library. 3) Change view. The form after clicking submit does not change the view. It submits the form but then opening that form from the list I am able to make edits on the fields I wanted as read-only and I can submit it again. It does not create a new item it just updated the previous one.
  • 03-25-2021 06:38 AM In reply to

    Re: InfoPath Form not becoming Read Only after submission

    Figured it out. The problem was in the load form, I did not have a condition so that the SOAP API call was not invoked. I set a string variable to be blank and then when that specific instance of a form is loaded then the string variable is populated and There is another rule that will change the view to read-only after it is submitted and will check again when it is loaded to make it a read-only view by looking to see if the string variable is populated.
  • 03-25-2021 07:34 AM In reply to

    Re: InfoPath Form not becoming Read Only after submission

    Oh good news - glad you got it figured out, and thanks for posting the resolution!
    Hilary Stoupa

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