<?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: Checking form validation before submit button rules</title><link>https://www.infopathdev.com:443/forums/thread/105299.aspx</link><pubDate>Wed, 27 Jan 2016 13:37:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105299</guid><dc:creator>profskett</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105299.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=105299</wfw:commentRss><description>&lt;p&gt;I&amp;nbsp;am currently&amp;nbsp;looking&amp;nbsp;at&amp;nbsp;doing&amp;nbsp;the same in a form I&amp;#39;m working on, and I don&amp;#39;t fancy going down the &amp;#39;dual submit&amp;#39; route either, as I imagine that this would make the submit button quite slow. The only other method I can think of (without code) would be to test all your validation conditions using an action rule associated with your Submit button, and then prevent any further rules from being performed if the validations are not satisfied. I think this should be fine in my case, given I don&amp;#39;t have too many validations to test, but I can see that it is not a very elegant solution (I guess&amp;nbsp;it makes&amp;nbsp;the validation rules essentially redundant).&lt;/p&gt;</description></item><item><title>Re: Checking form validation before submit button rules</title><link>https://www.infopathdev.com:443/forums/thread/99295.aspx</link><pubDate>Thu, 25 Sep 2014 21:37:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99295</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99295.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=99295</wfw:commentRss><description>&lt;p&gt;Again, submitting twice would the only way I can think to do this without code. Maybe promote another field and set the value to &amp;quot;1&amp;quot; on the first submit (or something) and use that to prevent your workflow from running?&lt;/p&gt;</description></item><item><title>Re: Checking form validation before submit button rules</title><link>https://www.infopathdev.com:443/forums/thread/99294.aspx</link><pubDate>Thu, 25 Sep 2014 20:22:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99294</guid><dc:creator>missieyohko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99294.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=99294</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Still looking for some help :/&lt;/p&gt;</description></item><item><title>Re: Checking form validation before submit button rules</title><link>https://www.infopathdev.com:443/forums/thread/99145.aspx</link><pubDate>Wed, 17 Sep 2014 13:16:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99145</guid><dc:creator>missieyohko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99145.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=99145</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yes, unless there&amp;#39;s someway to &amp;quot;fake&amp;quot; the first submit?&lt;/p&gt;</description></item><item><title>Re: Checking form validation before submit button rules</title><link>https://www.infopathdev.com:443/forums/thread/99140.aspx</link><pubDate>Tue, 16 Sep 2014 21:13:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99140</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99140.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=99140</wfw:commentRss><description>&lt;p&gt;You were clear - I was trying to offer a work around with a dual submit - the first one to check and see if the form is valid, the second one to submit the &amp;quot;real&amp;quot; data after your rules run. So there would be two submit rules in the set of rules. Do you have SharePoint workflow running on the library that submitting twice would cause an issue?&lt;/p&gt;</description></item><item><title>Re: Checking form validation before submit button rules</title><link>https://www.infopathdev.com:443/forums/thread/99139.aspx</link><pubDate>Tue, 16 Sep 2014 20:21:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99139</guid><dc:creator>missieyohko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99139.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=99139</wfw:commentRss><description>&lt;p&gt;Sorry I think perhaps I am unclear.&amp;nbsp; I can&amp;#39;t try to submit first because then if there isn&amp;#39;t any error it will submit before the other&amp;nbsp;actions in the rule&amp;nbsp;execute.&amp;nbsp; I need them to&amp;nbsp;run before the submit, but I need the validation to run first.&lt;/p&gt;&lt;p&gt;So the submit should be to check the form is valid first, perform these additional actions, then submit the form.&lt;br /&gt;If the form is not valid to submit, no other actions should occur.&lt;/p&gt;</description></item><item><title>Re: Checking form validation before submit button rules</title><link>https://www.infopathdev.com:443/forums/thread/99138.aspx</link><pubDate>Tue, 16 Sep 2014 19:39:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99138</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99138.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=99138</wfw:commentRss><description>&lt;p&gt;qRules has a command that can get you an error count, or code can be used for this....&lt;/p&gt;
&lt;p&gt;I think for a no-code solution, I&amp;#39;d try to submit the form first, then run the other rules, then submit again. So&amp;nbsp;- if the first submit attempt fails because of the form being invalid, that should stop the rest of the rules (I think - may want to test that to be sure). If it succeeds, as long as your rules aren&amp;#39;t going to set anything to an invalid value, the second submit after the rules run should also succeed....&lt;/p&gt;</description></item><item><title>Checking form validation before submit button rules</title><link>https://www.infopathdev.com:443/forums/thread/99136.aspx</link><pubDate>Tue, 16 Sep 2014 18:47:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99136</guid><dc:creator>missieyohko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99136.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=99136</wfw:commentRss><description>&lt;p&gt;Hello everyone,&lt;/p&gt;&lt;p&gt;I have a submit button with a single rule.&amp;nbsp; In this rule I have several actions that occur before the &amp;quot;submit using a data connection&amp;quot; action.&lt;br /&gt;The problem I am encountering is that my form validation is not occurring until after those other&amp;nbsp;actions occur.&amp;nbsp; In other words, my form validation isn&amp;#39;t being checked until the &amp;quot;submit using a data connection&amp;quot; action.&amp;nbsp; I need the form validation to happen before any of these actions occur.&amp;nbsp; None of the actions should occur if this form isn&amp;#39;t at least valid.&lt;/p&gt;&lt;p&gt;Does anyone have any suggestions on how to accomplish this?&lt;/p&gt;</description></item></channel></rss>