<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: mathmatical validation</title><link>https://www.infopathdev.com:443/forums/thread/64209.aspx</link><pubDate>Tue, 15 Feb 2011 17:00:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64209</guid><dc:creator>tafavorite</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64209.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64209</wfw:commentRss><description>&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;I am trying to follow what you’re saying, and it sounds a lot better than what is being done now. I am just not following on how to accomplish this. If you could explain&amp;nbsp;a little more and give an example using the above info I could further understand.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&amp;nbsp;Situation:&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;We have checkboxes and radio buttons. The hope is that in the future when one of these forms are submitted that the form will go to a database and from there different departments could access the database and pull the information from this form. Good example is that if someone clicks a yes or no radio button, then when the form is submitted it goes to the database with yes or no value instead of 1 or 2.&lt;/span&gt; 
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;What I am understanding, from your answer is that the process is still accomplished but in a different form. If you could explain it better, then I could understand a bit better.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: mathmatical validation</title><link>https://www.infopathdev.com:443/forums/thread/64203.aspx</link><pubDate>Tue, 15 Feb 2011 16:06:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64203</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64203.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64203</wfw:commentRss><description>&lt;p&gt;I think it would be wiser to keep the &lt;strong&gt;true/false&lt;/strong&gt; values on your checkboxes, and put rules on them to set a separate field to the value you want, accordingly. That way you don&amp;#39;t have to incorporate those text values (which might yet change again) into your logic conditions.&amp;nbsp; And if &lt;/p&gt;
&lt;p&gt;it&amp;#39;s just a matter of displaying that text in the form, it could make sense just to use expression boxes with conditional formatting to show those values.&lt;/p&gt;</description></item><item><title>Re: mathmatical validation</title><link>https://www.infopathdev.com:443/forums/thread/64198.aspx</link><pubDate>Tue, 15 Feb 2011 15:05:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64198</guid><dc:creator>tafavorite</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64198.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64198</wfw:commentRss><description>&lt;p&gt;Have a problem now. The value for the the checkboxes had to be set to the wording that is associated with them so now they are no longer able to &amp;quot;=1&amp;quot; in your example. So, what can I do to still use this validation but replace the 1 with the checkbox value.&lt;/p&gt;
&lt;p&gt;Situtation:&lt;/p&gt;
&lt;p&gt;chkbx : Take me out&lt;br /&gt;chkbx : Take me to the game&lt;br /&gt;chkbx : Take me to the resturant&lt;/p&gt;
&lt;p&gt;so now the chkbx has the following values&lt;/p&gt;
&lt;p&gt;cleared = 0&lt;br /&gt;checked = Take me out&lt;/p&gt;
&lt;p&gt;cleared = 0&lt;br /&gt;checked = Take me to the game&lt;/p&gt;
&lt;p&gt;So, can I add those in place of&lt;strong&gt; 1&lt;/strong&gt; in the conditional statement of the first expression seperated by commas...?&lt;/p&gt;
&lt;p&gt;count((../my:Take_me_out | ../my:Take_me_to_game| ../my:Take_me_to_resturant)[. = &amp;quot;&lt;strong&gt;1&lt;/strong&gt;&amp;quot;]) &amp;lt; 2&lt;/p&gt;</description></item><item><title>Re: mathmatical validation</title><link>https://www.infopathdev.com:443/forums/thread/63884.aspx</link><pubDate>Fri, 04 Feb 2011 16:40:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63884</guid><dc:creator>tafavorite</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63884.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=63884</wfw:commentRss><description>&lt;p&gt;WOW. That is awsome, exactly what I needed. thank you so much!&lt;/p&gt;</description></item><item><title>Re: mathmatical validation</title><link>https://www.infopathdev.com:443/forums/thread/63883.aspx</link><pubDate>Fri, 04 Feb 2011 16:34:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63883</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63883.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=63883</wfw:commentRss><description>&lt;p&gt;Please have a look at the validation expressions on this form.&lt;/p&gt;</description></item><item><title>Re: mathmatical validation</title><link>https://www.infopathdev.com:443/forums/thread/63882.aspx</link><pubDate>Fri, 04 Feb 2011 16:23:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63882</guid><dc:creator>tafavorite</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63882.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=63882</wfw:commentRss><description>&lt;p&gt;Okay, let me see if I can lay this out. &lt;br /&gt;First the user has a choice to choose any one of 5 checkboxes &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Which has a valdation on these checkboxes because the user must choose 1, which I had gotten the code from a previous post on how to do this).&lt;br /&gt;&lt;br /&gt;Second, if the user selects First check box, there is a second question that has 3 additional checkboxes. The user must select one from there. I got that one done.&lt;br /&gt;&lt;br /&gt;The tricky part is here. If the user selects the 2 or 3 check box from the original group of 5, then the second question needs to be required that the user selects 2 checkboxes from that question.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I really would need the help with expressions and what you need to put in the conditional statements for infopath to check that these checkboxes are correctly done.&lt;/p&gt;
&lt;p&gt;I hope this is able to be explained better. Not sure what else I can say.&lt;/p&gt;</description></item><item><title>Re: mathmatical validation</title><link>https://www.infopathdev.com:443/forums/thread/63880.aspx</link><pubDate>Fri, 04 Feb 2011 15:25:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63880</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63880.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=63880</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m confused about your situation.&amp;nbsp; You say that you have validation so that the user has to check a checkbox from the first set, but then you say &lt;em&gt;if&lt;/em&gt; the user checks a box in the first group, then they have to check at least 2 from the second group.&amp;nbsp; Wouldn&amp;#39;t they always have to choose at least&amp;nbsp;2 from the second group because they always have to check at least one from the first group?&amp;nbsp; Or did you mean to imply that the user doesn&amp;#39;t need to pick any from the second group if they choose &lt;em&gt;more than one&lt;/em&gt; in the first group?&lt;/p&gt;</description></item><item><title>mathmatical validation</title><link>https://www.infopathdev.com:443/forums/thread/63877.aspx</link><pubDate>Fri, 04 Feb 2011 13:58:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63877</guid><dc:creator>tafavorite</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63877.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=63877</wfw:commentRss><description>&lt;p&gt;Okay, for the math wizzes. I have a group of check boxes that I have gotten so you have to choose one and untill you choose one, they have a red box around them. That is one section. In a second section of the form I have 3 more check boxes. What I need is some validation or rule that would make it so if you check on one check box from the first group it will check to make sure you have selected at least 2 of the 3 checkboxes from the second group. I am aware of the only 5 conditions per rule so I think I am getting much for one rule and would have to split into multiple rules. I am just having trouble trying to get the rule to read if you check one box then you need to check 2 from 3 of the next group. Any thoughts or examples of how to step by step process to create the rule would be terrific.&lt;/p&gt;</description></item></channel></rss>