<?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: Simple Data validation on Submit issue</title><link>https://www.infopathdev.com:443/forums/thread/69082.aspx</link><pubDate>Mon, 08 Aug 2011 19:50:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69082</guid><dc:creator>ynygma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69082.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69082</wfw:commentRss><description>&lt;p&gt;Thank you for the response DerekB.&lt;/p&gt;
&lt;p&gt;using this post:&lt;br /&gt;&lt;a href="http://www.infopathdev.com/forums/p/14951/69079.aspx#69079"&gt;http://www.infopathdev.com/forums/p/14951/69079.aspx#69079&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I was able to get it to work the way I wanted:)&lt;/p&gt;
&lt;p&gt;Ynygma&lt;/p&gt;</description></item><item><title>Re: Simple Data validation on Submit issue</title><link>https://www.infopathdev.com:443/forums/thread/69080.aspx</link><pubDate>Mon, 08 Aug 2011 19:47:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69080</guid><dc:creator>DerekB</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69080.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69080</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think it may be a little trickier than that...&lt;/p&gt;
&lt;p&gt;What you need to do is remove the CC validation field.&amp;nbsp; Then on your submit rules use something like this&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;rule 1&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If &amp;lt;checkbox1&amp;gt; is blank and&lt;/p&gt;
&lt;p&gt;If &amp;lt;checkbox2&amp;gt; is blank and&lt;/p&gt;
&lt;p&gt;If &amp;lt;checkbox3&amp;gt; is blank ect... &lt;/p&gt;
&lt;p&gt;actions: Show dialog message: You must at least select 1 group!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;IMPORTANT - set this rule to Stop processing rules when this rule finishes&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;(This will stop the form from getting to rule 2 if it gets triggered by the blank checkboxes)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Rule 2&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;actions: Submit using data connection: Email Submit&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Close this form: No Prompt&lt;/p&gt;</description></item><item><title>Simple Data validation on Submit issue (resolved)</title><link>https://www.infopathdev.com:443/forums/thread/69050.aspx</link><pubDate>Sun, 07 Aug 2011 22:11:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69050</guid><dc:creator>ynygma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69050.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69050</wfw:commentRss><description>&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;I have a simple form with about 6 checkboxes and all I want to do is make it when I hit the submit button that at least 1 checkbox has to be checked.&lt;/p&gt;
&lt;p&gt;OK, it might be a little more complex than that because each checkbox when submitted puts a bunch of email addresses in the CC field of an email submit data connection.&amp;nbsp; What I am attempting to do, is having a hidden field (ccvalidation)&amp;nbsp;which value&amp;nbsp;= the checkbox field values.&lt;/p&gt;
&lt;p&gt;So in my submit button, I have 2 rules that state:&lt;/p&gt;
&lt;p&gt;1. condition: ccvalidation is not blank&lt;br /&gt;actions: Submit using data connection: Email Submit&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Close this form: No Prompt&lt;/p&gt;
&lt;p&gt;2. condition: ccvalidation is blank&lt;br /&gt;actions: Show dialog message: You must at least select 1 group!&lt;/p&gt;
&lt;p&gt;So when I hit the submit button, the dialog message appears if nothing is checked or at least 1 checkbox is checked.&lt;br /&gt;&lt;br /&gt;So what am I doing wrong?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;br /&gt;Ynygma&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;UPDATE:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I was able to find something similar in the General forums and figured out what I needed to make it work.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank&amp;nbsp;you,&lt;br /&gt;Ynygma&lt;/p&gt;</description></item></channel></rss>