For new features in qRules 2.1 it says:
Input Parameters View Switching - copy Input Parameters to your main data source on load and use to switch views (codeless!).
Is there an example somewhere on how to do this?
My steps aren't working as follows:
1) Have a url to open the form with a parameter added "?switchview=true"
2) I'm able to get the parameter passed successfully into the form
3) In Form Options set a rule to check if the switchview hidden field contains "true" then switch views
I think the problem is that #3 happens before #2 all the time because in the documentation it says:
There is no way to get to the input parameters outside of the Loading event first occurring, and, in InfoPath, rules always run before code. Therefore, Open Rules will not have access to the input parameter data. This is why we designed our form to use a rule in
finishedLoading to load the information, instead of using Open Rules.
Can anyone point me to how to get this to work since one of the new features says:
Input Parameters View Switching - copy Input Parameters to your main data source on load and use to switch views (codeless!).