<?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: Multiple Data Validations - can they be stored in another control?</title><link>https://www.infopathdev.com:443/forums/thread/19683.aspx</link><pubDate>Wed, 09 May 2007 06:15:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19683</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19683.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19683</wfw:commentRss><description>&lt;p&gt;You have to use something like my:Country = US or my:Country = MX or ... The easiest is use the second line of your conditional formatting set your conditions with the dropdown list and swicht again to expression. like this you can create the correct expressions for all your condition and just append them to the first one.&lt;/p&gt;&lt;p&gt;Does this help ?&lt;/p&gt;</description></item><item><title>Re: Multiple Data Validations - can they be stored in another control?</title><link>https://www.infopathdev.com:443/forums/thread/19678.aspx</link><pubDate>Tue, 08 May 2007 17:46:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19678</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19678.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19678</wfw:commentRss><description>&lt;p&gt;It is the same principal either way.&amp;nbsp; If you only want to show the tax field for the US then you would put a confitional format for display that says if country is not equal to &amp;quot;US&amp;quot; then Hide.&amp;nbsp; You would use a list the same way.&amp;nbsp; If you have a list of countries to display tax for then you would create your list and data connection (countrylist)&amp;nbsp;and then for the condition &amp;quot;if my:country != countrylist/country&amp;quot; hide the field.&lt;/p&gt;&lt;p&gt;If you have a tax amount for each country then you could just reference that data. If the country does not have a tax amount or are not listed hide the field.&lt;/p&gt;&lt;p&gt;Maybe a little more description of what you are doing would help.&lt;/p&gt;</description></item><item><title>Re: Multiple Data Validations - can they be stored in another control?</title><link>https://www.infopathdev.com:443/forums/thread/19677.aspx</link><pubDate>Tue, 08 May 2007 17:14:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19677</guid><dc:creator>tleining</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19677.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19677</wfw:commentRss><description>&lt;p&gt;Well, I&amp;#39;ve tried both solutions to no avail....&lt;/p&gt;&lt;p&gt;&amp;nbsp;Clay, I am actually not wanting to return a tax value but if the country field is US then I will show the tax field.&amp;nbsp; If the country isn&amp;#39;t in my list then I want to hide that field.&amp;nbsp;&amp;nbsp; However, I&amp;#39;m intrigued by your solution and may be able to use it elsewhere, could you give me a quick sample of what the rule would look like?&lt;/p&gt;&lt;p&gt;&amp;nbsp;In regards to &amp;quot;The Expression&amp;quot; solution, what is the syntax.&amp;nbsp; I tried this and the initial Expression showed:&amp;nbsp; my:Country = &amp;quot;US&amp;quot;&amp;nbsp; &lt;/p&gt;&lt;p&gt;so my thought for the adjusted syntax would be:&amp;nbsp; my:Country = &amp;quot;US&amp;quot; OR &amp;quot;MX&amp;quot; OR ....&amp;nbsp; This gave me an expected value end of string error message.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any thoughts?&lt;/p&gt;</description></item><item><title>Re: Multiple Data Validations - can they be stored in another control?</title><link>https://www.infopathdev.com:443/forums/thread/19672.aspx</link><pubDate>Tue, 08 May 2007 14:32:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19672</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19672.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19672</wfw:commentRss><description>&lt;p&gt;Hi I guess Clay Fox&amp;#39;s solution is smarter by mine may be easier to implement :)&lt;/p&gt;&lt;p&gt;There is a little trick how you can have up to 30 condition for your conditional formatting or data validation. Assuming you use conditional formattig first select&amp;nbsp;set&amp;nbsp;your condition like usual &amp;quot;If field1 equalt to sampleText&amp;quot;. Now switch the first drop down list to &amp;quot;The expression&amp;quot;. On the right side you now&amp;nbsp;have something like the internal representation of your rule &amp;nbsp;and you can add many others just delimited by OR or AND.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Hope this helps&lt;/p&gt;</description></item><item><title>Re: Multiple Data Validations - can they be stored in another control?</title><link>https://www.infopathdev.com:443/forums/thread/19670.aspx</link><pubDate>Tue, 08 May 2007 13:37:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19670</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19670.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19670</wfw:commentRss><description>&lt;p&gt;Welcome to the forum.&lt;/p&gt;&lt;p&gt;This is a great example for having a secondary data source.&amp;nbsp;Create a list or table of the tax id&amp;#39;s and probably the amounts.&amp;nbsp; Then when a user selects a country you would have a rule on the tax calculation that would match it to the list and return the amount. If it was not found on the list then the default of 0 would be used.&amp;nbsp; You could have this list in SharePoint or as a simple XML file and link it in as a data connection and then reference the fields in your form.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Let us know if you have more questions.&lt;/p&gt;</description></item><item><title>Multiple Data Validations - can they be stored in another control?</title><link>https://www.infopathdev.com:443/forums/thread/19666.aspx</link><pubDate>Tue, 08 May 2007 12:35:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19666</guid><dc:creator>tleining</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19666.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19666</wfw:commentRss><description>&lt;p&gt;I have a form that have many fields pertaining to only certain countries; however the list of countries if often greater than 10.&amp;nbsp; I&amp;#39;ve tried using data validations and/or conditional formatting with &amp;#39;or&amp;#39; statements but I believe this is limited to 5 entries.&amp;nbsp; I would like to know if I can store the countries that are used for the data validations in another countrol so that I only have one statement in the Conditional Formatting/Data Validation section for each control.&amp;nbsp; Any guidance that you can give would be appreciate.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Example:&lt;/p&gt;&lt;p&gt;Field Tax ID is only used in &amp;#39;US&amp;#39;, &amp;#39;GB&amp;#39;, &amp;#39;ES&amp;#39;, &amp;#39;FR&amp;#39;,&amp;#39;IT&amp;#39;, &amp;#39;MX&amp;#39;, &amp;#39;BR&amp;#39;, &amp;#39;SE&amp;#39;, &amp;#39;AT&amp;#39;, &amp;#39;NL&amp;#39;, &amp;#39;AR&amp;#39;, &amp;#39;IE&amp;#39;, &amp;#39;JP&amp;#39;, &amp;#39;CL&amp;#39;, &amp;#39;MC&amp;#39;, &amp;#39;PE&amp;#39;, &amp;#39;CO&amp;#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I would prefer to only show Tax ID for these countries to avoid confusion.&lt;/p&gt;</description></item></channel></rss>