<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Struggling with In Form Approvals with multiple approval scenarios</title><link>https://www.infopathdev.com:443/forums/thread/94168.aspx</link><pubDate>Thu, 07 Nov 2013 15:52:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94168</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94168.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=94168</wfw:commentRss><description>&lt;p&gt;&lt;span class="gmw_"&gt;If it was me, I&amp;#39;d have an Intial Submission View, Approver 1 View, Approver 2 View and read only summary view using the &lt;span class="gm_ gm_6190db34-3a27-f945-20e8-d25ccc3dc9d7 gm-spell"&gt;formstatus&lt;/span&gt; fields as my open load rules.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Struggling with In Form Approvals with multiple approval scenarios</title><link>https://www.infopathdev.com:443/forums/thread/94164.aspx</link><pubDate>Thu, 07 Nov 2013 13:40:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94164</guid><dc:creator>fuzzbear</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94164.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=94164</wfw:commentRss><description>&lt;p&gt;I think there would need to be another submit button on the form though, the person filling out the form for the first time needs to submit it. It&amp;#39;s then sent to the approver(s) and they will need to approve/reject. I would probably disable the submit button once the form has been submitted to the approver(s)&lt;/p&gt;</description></item><item><title>Re: Struggling with In Form Approvals with multiple approval scenarios</title><link>https://www.infopathdev.com:443/forums/thread/94143.aspx</link><pubDate>Wed, 06 Nov 2013 19:47:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94143</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94143.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=94143</wfw:commentRss><description>&lt;p&gt;For me I&amp;#39;d hide the ribbon save options.&lt;/p&gt;&lt;p&gt;I&amp;#39;d have the following:&amp;nbsp; two buttons. 1 called Approve, 1 called Reject on the form.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A hidden field called FormStatus. I&amp;#39;d have another field called FinalApprovalStatus&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Each button has several rules to it when the button is pressed. &lt;/p&gt;&lt;p&gt;Set the field FormStatus to 2.Submitted to X or what ever you want to call it. - I think it&amp;#39;s a good habit to get into to have a FormStatus field, as your forms get longer and more complex, it becomes invaluable. You could have a default value of 1.Started or whatever you like.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;d add two ApprovalStatus Fields i.e.Approval1 and Approval2. That way 
you can have rules to check that all the required approvals are done 
etc. based on a user selection &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Set the field Approvel1 to Approved or Rejected. &lt;/p&gt;&lt;p&gt;If the form is ready to be finally approved Set the field value FinalApprovalStatus to Approved or Rejected.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Switch to a Approve/Reject Thank you screen&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Submit Data &lt;/p&gt;&lt;p&gt;Don&amp;#39;t have a separate approve/reject control and a submit button. I&amp;#39;ve seen to many instances where something is approved, but not submitted. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Emails etc. will done using a workflow.&lt;/p&gt;&lt;p&gt;Rules actually fire off at different times depending on how you have set up your submit options especially validation rules - http://mikesnotebook.wordpress.com/2010/02/02/infopath-submit-options-and-form-validation/&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Struggling with In Form Approvals with multiple approval scenarios</title><link>https://www.infopathdev.com:443/forums/thread/93931.aspx</link><pubDate>Mon, 28 Oct 2013 14:45:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93931</guid><dc:creator>fuzzbear</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93931.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=93931</wfw:commentRss><description>Hey there. 

Hoping that you fine folks can help point me in a direction. I have been searching on the internet and this forum for some sort of example of this situation, but have been unable to find anything. Forgive me if this has been asked before. 

Basically I am creating an infopath form that will require the approval of either one or two people depending on a particular variable which is supplied by the person submitting the form. 
I want to do this approval all in form, which I think I have a pretty good handle on how to do with buttons that will update the approval status. 
What Im struggling with is understanding how to handle changing the approval/form status and submitting the form. 

Each appover will have an Approve and Reject button. These buttons will be disabled or activated based on input from the submitting user (Email addresses of the approver(s) and the number of approvals required 1 or 2) 
When the approver approves the form, I want the form status or approval status to be updated appropriately. This means that if only one approval is needed, when the first approver hits the approve button the approval status is updated, the form status is updated, and the form is then submitted. If two approvals are needed, the form needs to check that both approval statuses are &amp;quot;Approved&amp;quot; and then update the form status to Approved and submit the form. 
If any of the approvers reject the form, then the form status is immediately updated to &amp;quot;Rejected&amp;quot; and the form will be sent back to the originator. 

My question is this... should the Approve and Reject buttons be doing the submitting? or should I make a separate submit button for this? 
My other question/concern is this. When I have custom rules firing off when the form is submitted, do those rules only fire when using the default submit button in the ribbon or a submit button? If I add an action to submit a form as the last step of the Approve or reject buttons.. do those submit rules come into play?

Thanks for any help, and again I&amp;#39;m sorry if this is a redundant question.

Thanks
RJM</description></item></channel></rss>