I'm using an InfoPath form embedded in a webpart in a MOSS 2007 webpage. I'd like to have a Customer go to this page and see a certain view and not any of the others. After the form is submitted, the engineering team needs to be able to see the Team View, which has all the submitted information plus fields they will fill in.
I have these two views, and the single Customer view shows up by itself in the webpage because I turned off the toolbar that has view selection. But, that means that the engineering team can't see the Team View when they go to the form library.
My idea is to have a "Submitted_flag" variable and set this to FALSE. Then when the form is submitted, it will turn to TRUE. I'll have a button to switch to the Team View appear if the "Submitted_flag" variable is TRUE.
Is this the easiest way to do this or should I approach the problem another way?
Thanks for any advice you can provide.