Hello,
I found here(http://www.infopathdev.com/forums/p/11426/40459.aspx) how to change the default view on load, however I'm trying to set up my form to do so on the click of a button instead. Does anyone have any advice on how to do this? I've only been able to find resources dealing with Loading events.
Essentially, I'm trying to set it up so that when the user clicks a submit button, it changes the view to that of their supervisor and e-mail it to the supervisor as an attachment. I close the form immediately at the end to make sure that the initial user can't access their supervisor's section. My issue is the attachment for the supervisor opens up in the default view instead of the supervisor view I had switched it to. I removed the views from the toolbar listing to make sure the initial user doesn't try shenanigans.
Thanks for any help/advice you have. No one at my office has really worked with Infopath, so I'm flying blind.