Can I have multiple Form Load Rules?

I've got an InfoPath form that has 5 distinct views that can be submitted. I'm struggling with how to make sure the correct view is loaded when I open the submitted form from SharePoint. The Form Load Rules only appear to let you load one view. Is that correct? Or, can I add some logic to load a specific view based on something in the submitted

July 29th, 2013 6:49pm

Hi Sandy,

We can achieve this by modifying submit and form load rules similar like this.

Suppose we have 2 views. Switch views base on the viewID field on Form load event.

Change rules on submit button to

Rule1:

If (add first condition that we need to switch to first view on form load)
Set viewID = 1,
Submit data

Rule2:

If (add second condition that we need to switch to second view on form load),
Set viewID = 2,
Submit data

Change form load rule

Rule1

If viewID =1,
Switch to View1

Rule2

If viewID = 2,
Switch to View2.

Thanks & Regards,
Emir Liu
TechNet Subscriber Support in forum
If you have any feedback on our support, please click here.

Free Windows Admin Tool Kit Click here and download it now
July 30th, 2013 3:17am

Hello Emir,

Thanks for your answer. I was successful in my problem by stamping a specific value into a field I created called FormLoadView. On Submit, it set the value for each submitted view. That did it for me.

August 2nd, 2013 6:00pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics