<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Validation rule which enforces highest number in a field</title><link>https://www.infopathdev.com:443/forums/thread/67994.aspx</link><pubDate>Fri, 01 Jul 2011 18:09:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67994</guid><dc:creator>Mc2102</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67994.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=67994</wfw:commentRss><description>&lt;p&gt;@Jimmy&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I will give that a try but I am not sure if that will work since I have some additional data in the field.&lt;/p&gt;</description></item><item><title>Re: Validation rule which enforces highest number in a field</title><link>https://www.infopathdev.com:443/forums/thread/67993.aspx</link><pubDate>Fri, 01 Jul 2011 18:07:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67993</guid><dc:creator>Mc2102</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67993.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=67993</wfw:commentRss><description>&lt;p&gt;@Hilary &lt;/p&gt;
&lt;p&gt;Yes there is additional text in the field. Actually the field contain a subnet address. So the string would look like this: 192.168.10.0\24.&lt;br /&gt;&lt;br /&gt;I want to make sure that none of the numbers between the dots is higher then 255. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I was using MAX because I do not really know exactly how to challenge this and this function sounded like it could work.&lt;/p&gt;</description></item><item><title>Re: Validation rule which enforces highest number in a field</title><link>https://www.infopathdev.com:443/forums/thread/67989.aspx</link><pubDate>Fri, 01 Jul 2011 16:19:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67989</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67989.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=67989</wfw:commentRss><description>&lt;p&gt;Are you saying that you selected &amp;quot;contains&amp;quot; in the middle dropdown box?&amp;nbsp; If so, you should be selecting &amp;quot;is greater than&amp;quot; and then just entering 255 in the third box.&lt;/p&gt;</description></item><item><title>Re: Validation rule which enforces highest number in a field</title><link>https://www.infopathdev.com:443/forums/thread/67986.aspx</link><pubDate>Fri, 01 Jul 2011 16:01:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67986</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67986.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=67986</wfw:commentRss><description>&lt;p&gt;Is there other text in the field? Or are you just checking for 255? Is the field repeating (I ask cause you are using Max).&lt;/p&gt;
&lt;p&gt;I did a quick test - just used field1 &amp;gt; 255 for the condition, and when the field had a number greater than 255, the validation worked as anticipated (which is why I think I may not be quite understanding your scenario).&lt;/p&gt;</description></item><item><title>Validation rule which enforces highest number in a field</title><link>https://www.infopathdev.com:443/forums/thread/67985.aspx</link><pubDate>Fri, 01 Jul 2011 15:52:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67985</guid><dc:creator>Mc2102</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67985.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=67985</wfw:commentRss><description>&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I am trying to build a validation rule for a InfoPath 2010 form which simply does not allow any number higher then 255 in a text field. &lt;/p&gt;
&lt;p&gt;This is what I have and what does not work: &lt;br /&gt;&lt;br /&gt;Run the rule when this condition is true: &lt;br /&gt;Field1 - contains - max(Field1) &amp;gt; 255 &lt;br /&gt;&lt;br /&gt;But it does not work. The rule never applies and does not prevent the use from typing in a number higher then 255. &lt;br /&gt;&lt;br /&gt;How can I make this happen? &lt;br /&gt;&lt;br /&gt;Thank you Mc2102&lt;/p&gt;</description></item></channel></rss>