<?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: Make field required</title><link>https://www.infopathdev.com:443/forums/thread/48336.aspx</link><pubDate>Thu, 29 Oct 2009 04:15:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48336</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48336.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=48336</wfw:commentRss><description>&lt;p&gt;You just have to get your logic correct.&amp;nbsp; It can be done easily.&amp;nbsp; When creating data validation logic statements, EXACT syntax is required.&amp;nbsp; Things like &amp;quot;yes&amp;quot; do not equal &amp;quot;YES&amp;quot; or &amp;quot;Yes&amp;quot; and sometimes aren&amp;#39;t the same as &amp;quot;TRUE&amp;quot; or &amp;quot;1&amp;quot; so you have to be very careful.&amp;nbsp; Do one step at a time and verify that every individual piece works before combining conditions.&lt;/p&gt;
&lt;p&gt;You basically need to say:&lt;/p&gt;
&lt;p&gt;If Dropdown equals &amp;lt;value&amp;gt;&lt;/p&gt;
&lt;p&gt;and Option&amp;nbsp;not equals TRUE (make sure it&amp;#39;s a boolean field or get the text exact if not)&lt;/p&gt;
&lt;p&gt;Anyway, I just rigged up a sample file that has all 3 fields with the logic as you described it, I think.&amp;nbsp; Take a look and see if that helps.&lt;/p&gt;</description></item><item><title>Re: Make field required</title><link>https://www.infopathdev.com:443/forums/thread/48154.aspx</link><pubDate>Thu, 22 Oct 2009 15:08:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48154</guid><dc:creator>TonySim</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=48154</wfw:commentRss><description>&lt;p&gt;Thanks for your assistance. This works for the option button. I just need to set the file attachment. I tried Option equals yes AND attachment is not present however this did not work.&lt;/p&gt;
&lt;p&gt;Thanks again for your help.&lt;/p&gt;</description></item><item><title>Re: Make field required</title><link>https://www.infopathdev.com:443/forums/thread/48151.aspx</link><pubDate>Thu, 22 Oct 2009 15:01:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48151</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48151.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=48151</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Precisely what settings are you using for the Data Validation?&amp;nbsp; Please try setting it to something like [&lt;i&gt;dropdownField&lt;b&gt; equals &lt;/b&gt;&amp;#39;yes&amp;#39;&lt;/i&gt;] AND [&lt;i&gt;compulsoryField&lt;b&gt; is blank&lt;/b&gt;&lt;/i&gt;] &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Make field required</title><link>https://www.infopathdev.com:443/forums/thread/48150.aspx</link><pubDate>Thu, 22 Oct 2009 14:43:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48150</guid><dc:creator>TonySim</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48150.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=48150</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;nbsp; am relatively&amp;nbsp;new to InfoPath and I am stuck on quite a simple function which I was able to do but forgotten how. I have an option which I want to make compulsory only if a specific selection is made in a drop down list.&lt;br /&gt;&lt;br /&gt;I have tried to do this using Data Validation and the screentip &amp;quot;cannot be blank&amp;quot; however the option button still remains &amp;#39;Red&amp;#39; if I make a selection. This is quite frustrating as I originally knew how to do this. I also have a file attachment which must be compulsory if one of the options are selected.&lt;/p&gt;
&lt;p&gt;I have tried this with Data Validation as well and the same thing occurs. The drop down should make a &amp;#39;Yes&amp;#39; or &amp;#39;No&amp;#39; option compulsory and if &amp;#39;Yes&amp;#39; is chosen the file attachment should become compulsory. Should I possibly be using rules instead.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;Tony&lt;/p&gt;</description></item></channel></rss>