<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Multiple Selection Box - Ensuring at least one value is ticked.</title><link>https://www.infopathdev.com:443/forums/thread/55422.aspx</link><pubDate>Fri, 28 May 2010 17:55:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55422</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55422.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=55422</wfw:commentRss><description>&lt;p&gt;I see.&amp;nbsp; This seems to be yet another quirk of the multi-selection list box.&amp;nbsp; Validation can only be performed on fields that exist.&amp;nbsp; Since in your case the invalid state is when there are no nodes of your field, validation cannot take place.&amp;nbsp; I&amp;#39;d suggest&amp;nbsp;using an expression box with a red asterisk that&amp;#39;s displayed when none of the items is checked, and use rules to prevent submit when that&amp;#39;s the case (if that&amp;#39;s your objective).&lt;/p&gt;</description></item><item><title>Re: Multiple Selection Box - Ensuring at least one value is ticked.</title><link>https://www.infopathdev.com:443/forums/thread/55420.aspx</link><pubDate>Fri, 28 May 2010 16:47:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55420</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55420.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=55420</wfw:commentRss><description>&lt;p&gt;I put the validation on the underlying field.&amp;nbsp; And I expected a red * or hatching to appear somewhere on/round the field, or at least the error message to be displayed when I tried to submit the form.&lt;/p&gt;
&lt;p&gt;Am I expecting it to be too clever ?&lt;/p&gt;
&lt;p&gt;Catharine&lt;/p&gt;</description></item><item><title>Re: Multiple Selection Box - Ensuring at least one value is ticked.</title><link>https://www.infopathdev.com:443/forums/thread/55249.aspx</link><pubDate>Mon, 24 May 2010 13:48:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55249</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55249.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=55249</wfw:commentRss><description>&lt;p&gt;Could you elaborate on what you&amp;#39;re using to validate the list box?&amp;nbsp; I recall you had an earlier post where you mentioned you couldn&amp;#39;t find a way to perform validation on a multi-selection list box.&lt;/p&gt;&lt;p&gt;Are you displaying an error in an expression box, or disabling the submit button, or something else?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Multiple Selection Box - Ensuring at least one value is ticked.</title><link>https://www.infopathdev.com:443/forums/thread/55188.aspx</link><pubDate>Fri, 21 May 2010 15:32:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55188</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55188.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=55188</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How do you validate that at least one value in a multiple selection box is ticked.&lt;/p&gt;
&lt;p&gt;My data source is&lt;/p&gt;
&lt;p&gt;Group&lt;br /&gt;Region (repeating field)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My multiple selection box is based on Region&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have tried to put the following validation 0 = count(../my:Region[. != &amp;quot;&amp;quot;]) on the Region repeating field. and it doesn&amp;#39;t seem to work.&lt;/p&gt;
&lt;p&gt;Catharine&lt;/p&gt;</description></item></channel></rss>