open submitted form in print view only - InfoPath Dev Sign in | Join | Help in Views InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Views » open submitted form in print view only open submitted form in print view only Last post 11-30-2006 11:59 AM by Matt Faus. 5 replies. Page 1 of 1 (6 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 11-28-2006 05:48 AM Ali Joined on 11-06-2006 United Kingdom Posts 22 open submitted form in print view only Reply Contact I have 6 views within one form that includes a print view (with the kind help from you guys!). This print view depends on filled fields from the 5 views. So for example, if view fields in view No 2 is not filled then it wont be included within print view and so on. What my question is how can I customise this form so when it is submitted to our sharepoint area we open the submitted form it only has the print view with the filled views?Can this be done within infopath 2003 SP2? 11-28-2006 07:16 AM In reply to Stavi Joined on 12-13-2005 Posts 95 Re: open submitted form in print view only Mark as Not AnswerMark as Answer... Reply Contact You can switch views when the form is opening using code or rulesTo do it using rules, click tools, form options, open and save, rules, then add rules with conditions to switch view 11-28-2006 07:55 AM In reply to Ali Joined on 11-06-2006 United Kingdom Posts 22 Re: open submitted form in print view only Mark as Not AnswerMark as Answer... Reply Contact Hi StaviI dont think I have made my self clear! I would like the submitted form to be opened within the 'set' view. The rules you recommended works but we do not wish to switch view with 'fill out this form'(opening the form before is has been filled in), it is the filled and submitted form we wish to view print view only within our form library. many thanks for your reply 11-30-2006 03:31 AM In reply to Stavi Joined on 12-13-2005 Posts 95 Re: open submitted form in print view only Mark as Not AnswerMark as Answer... Reply Contact If it is a new form then all the views will be blank and the conditions on the rules should return false and not do anything?So i would check the conditions on your rules and work out why they are switching view when they shouldntAlternately you could add a rule to run before any of the others. Set the conditons on this rule so it only runs if none of the views have been filled in, dont add a action, instead click "Stop processing rules when this rule finishes"This will block your other rules from running 11-30-2006 04:44 AM In reply to Shilpa Pitta Joined on 06-05-2006 India Posts 101 Re: open submitted form in print view only Mark as Not AnswerMark as Answer... Reply Contact Hi Ali, I think this is possible with coding. You check it in OnLoad event, while opening the form fro sharepoint is it switching to newview, if not switch view to the print view.Hope this helps you! Shilpa INFOPATHDEV India 11-30-2006 11:59 AM In reply to Matt Faus Joined on 08-18-2006 Dallas, Texas Posts 1,558 Re: open submitted form in print view only Mark as Not AnswerMark as Answer... Reply Contact If all else fails you could add a "SubmittedToSharePoint" boolean node on your Main DOM and whenever you submit turn this on. The in Rules or OnLoad, check the value of this field and then switch to the Print View if necessary. Matt Faus / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge Page 1 of 1 (6 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.