Wednesday, September 9, 2015

Read Only View in InfoPath forms

The form is going to open to the default view - sadly, it does not care what view it was on when it was submitted.

Add a field to your data source that doesn't show on your form - let's pretend you've named it "IsSubmitted" and it is a true / false field, and it is defaulted to false.

In your submit button, remove the rule to switch the view. Instead, before you submit to the library, set IsSubmitted to true.

Then, add a form load rule. In the form load rule, use the condition IsSubmitted is equal to true and the action can be to switch to the read only view.


Submitted forms should then open in Read Only 

No comments:

Post a Comment