<?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: Using rules with the submit button</title><link>https://www.infopathdev.com:443/forums/thread/36816.aspx</link><pubDate>Thu, 08 Jan 2009 23:07:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36816</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36816.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36816</wfw:commentRss><description>&lt;p&gt;Interesting, I never use the actual &amp;quot;Submit&amp;quot; function but rather the &amp;quot;Rules and Custom Code&amp;quot; then re-label the button as &amp;quot;Submit,&amp;quot; so I&amp;#39;ve never noticed this discrepancy...&lt;/p&gt;</description></item><item><title>Re: Using rules with the submit button</title><link>https://www.infopathdev.com:443/forums/thread/36814.aspx</link><pubDate>Thu, 08 Jan 2009 23:02:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36814</guid><dc:creator>nikeman233</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36814.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36814</wfw:commentRss><description>&lt;p&gt;Thank you!&amp;nbsp; There is a difference in actions on the submit button and the tools&amp;gt;submit options.&amp;nbsp; It appears to work in my simple, dummy form, now I will try and add it to our work form, which is a more complex (more rules, options, etc.)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thank you for all of your help.&lt;/p&gt;</description></item><item><title>Re: Using rules with the submit button</title><link>https://www.infopathdev.com:443/forums/thread/36813.aspx</link><pubDate>Thu, 08 Jan 2009 23:01:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36813</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36813.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36813</wfw:commentRss><description>&lt;p&gt;In the button properties, please change the dropdown box from &amp;quot;Submit&amp;quot; to &amp;quot;Rules and Custom Code&amp;quot; and then set up the rules.&lt;/p&gt;</description></item><item><title>Re: Using rules with the submit button</title><link>https://www.infopathdev.com:443/forums/thread/36810.aspx</link><pubDate>Thu, 08 Jan 2009 22:50:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36810</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36810.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36810</wfw:commentRss><description>&lt;p&gt;&amp;quot;Close the form&amp;quot; is one of the standard actions in the Rules box and is even available for browser forms.&amp;nbsp; You really don&amp;#39;t see it anywhere when clicking &amp;quot;add action&amp;quot;?&amp;nbsp; I use the Close action in every form I make right after the submit so that it closes cleanly without any Save prompts.&lt;/p&gt;</description></item><item><title>Re: Using rules with the submit button</title><link>https://www.infopathdev.com:443/forums/thread/36808.aspx</link><pubDate>Thu, 08 Jan 2009 21:52:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36808</guid><dc:creator>nikeman233</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36808.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36808</wfw:commentRss><description>&lt;p&gt;I dont have a &amp;#39;close the form action&amp;#39;?&amp;nbsp; All I ahve is show a dialog box message, show a dialog box expression, switch views, set a field&amp;#39;s value, query using a data connection, submit using a data connection, open a new form to fill out.&amp;nbsp; I am using Infopath 2007 SP1.&lt;/p&gt;</description></item><item><title>Re: Using rules with the submit button</title><link>https://www.infopathdev.com:443/forums/thread/36805.aspx</link><pubDate>Thu, 08 Jan 2009 21:27:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36805</guid><dc:creator>Goodboy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36805.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36805</wfw:commentRss><description>&lt;p&gt;In your rules screen after the submit action, add another action.&amp;nbsp; Select the action close the form.&amp;nbsp; You can check/uncheck the box if you want the user to save the form or not.&lt;/p&gt;</description></item><item><title>Re: Using rules with the submit button</title><link>https://www.infopathdev.com:443/forums/thread/36800.aspx</link><pubDate>Thu, 08 Jan 2009 21:04:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36800</guid><dc:creator>nikeman233</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36800.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36800</wfw:commentRss><description>&lt;p&gt;Thanks Jimmy.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This appears to work, but it still doesn&amp;#39;t address my issue of having the form closed.&amp;nbsp; It stays open.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Also, I had to enter this in tools&amp;gt;submit options&amp;gt;advanced because I couldn&amp;#39;t select a close/leave open option in the submit rules.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any more advice?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks again.&lt;/p&gt;</description></item><item><title>Re: Using rules with the submit button</title><link>https://www.infopathdev.com:443/forums/thread/36785.aspx</link><pubDate>Thu, 08 Jan 2009 19:06:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36785</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36785.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36785</wfw:commentRss><description>&lt;p&gt;This should work:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Open up the Rules dialog for your submit button:&lt;/p&gt;
&lt;p&gt;Add a rule: Condition: (whatever condition you want to use to determine the form is invalid)&amp;nbsp; Action: Show an error message&lt;br /&gt;Check the box for &amp;quot;Stop processing rules when this rule finishes&amp;quot;&lt;br /&gt;Add another rule: Condition: none&amp;nbsp; Action: Submit the form&lt;/p&gt;
&lt;p&gt;If you do that, the submit should only take place when the form&amp;#39;s content is valid.&lt;/p&gt;</description></item><item><title>Re: Using rules with the submit button</title><link>https://www.infopathdev.com:443/forums/thread/36784.aspx</link><pubDate>Thu, 08 Jan 2009 18:45:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36784</guid><dc:creator>nikeman233</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36784.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36784</wfw:commentRss><description>&lt;p&gt;But how does that still prevent me from submitting a form with errors?&lt;/p&gt;</description></item><item><title>Re: Using rules with the submit button</title><link>https://www.infopathdev.com:443/forums/thread/36783.aspx</link><pubDate>Thu, 08 Jan 2009 18:40:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36783</guid><dc:creator>cali_kid</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36783.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36783</wfw:commentRss><description>&lt;p&gt;Without writing code, it might be possible to set a value in a sperate field and change the conditions in your rule to querry for that field. You can setup a a validation check for that change when you submit. &lt;/p&gt;</description></item><item><title>Using rules with the submit button</title><link>https://www.infopathdev.com:443/forums/thread/36781.aspx</link><pubDate>Thu, 08 Jan 2009 18:30:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36781</guid><dc:creator>nikeman233</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36781.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36781</wfw:commentRss><description>&lt;p&gt;I am trying to build a company form that relies heavily on rules.&amp;nbsp; I would like the form to not submit when a rule is broken, and submit when it does.&amp;nbsp; I have built the rules in to the submit button to run when clicked.&amp;nbsp; However the form still submits even when an error occurs, or rather, it tells me an error occured, then tells me the form was submitted successfully, doesn&amp;#39;t submit, then closes.&amp;nbsp; I definitley need the form to close.&amp;nbsp; Is this possible to do without using code?&amp;nbsp; Any suggestions on how to work around this?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you!&lt;/p&gt;</description></item></channel></rss>