<?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: No More/No Less Limitation</title><link>https://www.infopathdev.com:443/forums/thread/12001.aspx</link><pubDate>Wed, 20 Dec 2006 10:16:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12001</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12001.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=12001</wfw:commentRss><description>Hi Adam,&lt;br /&gt;&lt;br /&gt;We can do this by putting validation on this field using does not match pattern. For example if the we show the validation is more than 4 character and less than 2 characters by using the below validation.&lt;br /&gt;&lt;br /&gt;1.	Select field from first dropdown and select &lt;b&gt;does not match pattern &lt;/b&gt; from second dropdown.&lt;br /&gt;2.	Select &lt;b&gt;Select a pattern…&lt;/b&gt; from third drop down and choose &lt;b&gt;Custom Pattern&lt;/b&gt;&lt;br /&gt;3.	Select &lt;b&gt;Any letter&lt;/b&gt; option 4 times from ‘Insert special character#%92 dropdown&lt;br /&gt;4.	Add two more validation same type with selection of &lt;b&gt;Any letter&lt;/b&gt; option is 3 times and 2 times.&lt;br /&gt;&lt;br /&gt;By doing this field give the validation if you enter more than 4 characters and less than 2 character. &lt;br /&gt;&lt;br /&gt;We can write below code for onAfterChange event for display the validation message&lt;br /&gt;&lt;br /&gt;Var strLength = eventObj.Site.text.length;&lt;br /&gt;If(strLength &amp;lt; 2 || strLength &amp;gt; 4)&lt;br /&gt;{ &lt;br /&gt;thisXDocument.UI.Alert("String length is Invalid");&lt;br /&gt;return;&lt;br /&gt;}</description></item><item><title>Re: No More/No Less Limitation</title><link>https://www.infopathdev.com:443/forums/thread/12000.aspx</link><pubDate>Wed, 13 Dec 2006 13:10:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12000</guid><dc:creator>Shilpa Pitta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12000.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=12000</wfw:commentRss><description>Hi Adam,&lt;br /&gt;You can apply data validation on that field that it should not be less than and greater than the required character length.&lt;br /&gt;&lt;br /&gt;Hope it helps you!</description></item><item><title>No More/No Less Limitation</title><link>https://www.infopathdev.com:443/forums/thread/11749.aspx</link><pubDate>Wed, 13 Dec 2006 11:56:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11749</guid><dc:creator>Aximand</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11749.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=11749</wfw:commentRss><description>I'm trying to get a limit set on a 'cannot be blank' textbox so that it can not have more than so many characters in... &lt;br /&gt;&lt;br /&gt;That was the easy bit... &lt;br /&gt;&lt;br /&gt;I'm struggling to find out if there is a 'No Less' limitation since we have rolled out this new system and users are inputting the data with some characters missing...&lt;br /&gt;&lt;br /&gt;Can anyone shed some light?&lt;br /&gt;&lt;br /&gt;Thanks in advance.&lt;br /&gt;&lt;br /&gt;Adam.</description></item></channel></rss>