<?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: Validation of checkbox set</title><link>https://www.infopathdev.com:443/forums/thread/63878.aspx</link><pubDate>Fri, 04 Feb 2011 15:14:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63878</guid><dc:creator>tafavorite</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63878.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=63878</wfw:commentRss><description>&lt;p&gt;Do you do that process for every check box then? so in your example CB 1 is true the rest are false, how would CB 2 look?: CB 2 = true, cb 3, cb 4 = false...?&lt;/p&gt;</description></item><item><title>Re: Validation of checkbox set</title><link>https://www.infopathdev.com:443/forums/thread/2447.aspx</link><pubDate>Thu, 25 May 2006 22:22:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2447</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2447.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2447</wfw:commentRss><description>Actually this is quite easy to do but you need to know an xpath trick.  Just set "Data Validation" on the first checkbox.  Then your conditions are if the first checkbox is true but all the others are false, show an inline error.  The trick is how many other checkboxes you have.  InfoPath only allows you to specify up to 5 custom conditions, but you have 6 checkboxes!  This is easy to work around though.  Set the conditions as follows:&lt;br /&gt;&lt;br /&gt;if CB1, is equal to, true and&lt;br /&gt;   CB2, is equal to, false and&lt;br /&gt;   CB3, is equal to, false and&lt;br /&gt;   CB4, is equal to, false and&lt;br /&gt;   CB5, is equal to, false&lt;br /&gt;&lt;br /&gt;At this point you still need to add in the 6th checkbox.  To do that:&lt;br /&gt;1) Go to the checkbox 5 condition&lt;br /&gt;2) Select the field selector dropdown and choose "The expression"&lt;br /&gt;3) you will now see the raw xpath expression underlying the pretty GUI&lt;br /&gt;4) copy the contents of that expression&lt;br /&gt;5) at the end of that expression type space then "and" with no quotes in lowercase. lowercase is critical for this operator (i found out the hard way). :)&lt;br /&gt;6) then type a space and paste in the first part that you copied.&lt;br /&gt;7) change the field name to the field name for your sixth field. This will look something like this now:&lt;br /&gt;../my:field5 = string(false()) and ../my:field6 = string(false()) &lt;br /&gt;&lt;br /&gt;8) type in the Screen Tip something like "You must select at least one additional item below along with this item."&lt;br /&gt;9) Click ok a few times.&lt;br /&gt;10) Preview the solution.&lt;br /&gt;&lt;br /&gt;Now when you check the first box you will get a validation error on that box until you select at least one other box.&lt;br /&gt;</description></item><item><title>Re: Validation of checkbox set</title><link>https://www.infopathdev.com:443/forums/thread/2446.aspx</link><pubDate>Wed, 24 May 2006 15:11:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2446</guid><dc:creator>olegmichael</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2446.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2446</wfw:commentRss><description>Thanks Ted,&lt;br /&gt;that's what i implemented, i guess this is the only way having dialog box pop-up and avoid writing a code. What i tried to have is - one of 5 check boxes 'required', if 6th is selected.&lt;br /&gt;</description></item><item><title>Re: Validation of checkbox set</title><link>https://www.infopathdev.com:443/forums/thread/2445.aspx</link><pubDate>Tue, 23 May 2006 21:03:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2445</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2445.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2445</wfw:commentRss><description>Hi Oleg and welcome to InfoPathDev!&lt;br /&gt;&lt;br /&gt;Have you tried to do this a rule in the first checkbox?  You should be able to make a rule where you change the values of the checkboxes you want to select when the value of the first checkbox is = true.  &lt;br /&gt;&lt;br /&gt;Hope that helps!</description></item><item><title>Validation of checkbox set</title><link>https://www.infopathdev.com:443/forums/thread/1309.aspx</link><pubDate>Tue, 23 May 2006 17:14:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1309</guid><dc:creator>olegmichael</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1309.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1309</wfw:commentRss><description>Hi,&lt;br /&gt;i've got 6 checkboxes in the form and trying to set the condition via validation: If the First is checked (true), then atleast one more has to be selected. Could you help me to figure out how to do this? Thanks.&lt;br /&gt;</description></item></channel></rss>