<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Text Box 50 Character Limit</title><link>https://www.infopathdev.com:443/forums/thread/67024.aspx</link><pubDate>Wed, 01 Jun 2011 15:16:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67024</guid><dc:creator>AnnKInfopath</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67024.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=67024</wfw:commentRss><description>&lt;p&gt;I was having this same problem- users were complaining that they were getting validation messages when they tried to submit the form.&amp;nbsp; If you right click on the red dashed area- it would give you the pop-up stating that there is a 50 character limit.&amp;nbsp; But when you go into the text box properties- no limit&amp;nbsp;was set.&lt;/p&gt;
&lt;p&gt;After much frustration and searching all through every part of Infopath I could find- I discovered that our issue was that Access had defaulted to a 50 character limit on each field.&amp;nbsp; So the limit was invisibly transferred to Infopath.&amp;nbsp; I had to go into the database and change the limits, then go through the steps to refresh the connection as described above.&amp;nbsp; After that everything was fine.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Easy fix after a very frustrating search for the source.... not unusual in my experience with these programs.&lt;/p&gt;</description></item><item><title>Re: Text Box 50 Character Limit</title><link>https://www.infopathdev.com:443/forums/thread/40304.aspx</link><pubDate>Fri, 03 Apr 2009 20:44:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40304</guid><dc:creator>kminor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40304.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40304</wfw:commentRss><description>&lt;p&gt;Just wanted to say for anyone else who may stumble upon this -- I had the same issue, and Hilary&amp;#39;s suggestion fixed it.&amp;nbsp; Thank you!&lt;/p&gt;</description></item><item><title>Re: Text Box 50 Character Limit</title><link>https://www.infopathdev.com:443/forums/thread/36225.aspx</link><pubDate>Wed, 24 Dec 2008 00:27:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36225</guid><dc:creator>danhayes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36225.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36225</wfw:commentRss><description>&lt;p&gt;Thanks for the reply...From what I have been reading InfoPath has too many restrictions, maybe it&amp;#39;s may lack of SQL skills...I don&amp;#39;t know.&amp;nbsp; Anyway I have given up and now using a Ms Access DB which works fine.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks again and Merry Christmas&lt;/p&gt;</description></item><item><title>Re: Text Box 50 Character Limit</title><link>https://www.infopathdev.com:443/forums/thread/36223.aspx</link><pubDate>Wed, 24 Dec 2008 00:15:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36223</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36223.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36223</wfw:commentRss><description>&lt;p&gt;I think that after changing your columns in SQL, you might have to &amp;#39;refresh&amp;#39; your dataconnection in the form, so that the form &amp;#39;knows&amp;#39; you now allow a longer number of characters. Have you tried selecting your main data connection in the Data Connections window, clicking &amp;#39;Modify&amp;#39; and just walking through it again? Though you might want to change to NVARCHAR(250) or (256) instead of (MAX) -- I can&amp;#39;t remember how IP feels about (MAX) and submit. By the way, even though NVARCHAR(250) isn&amp;#39;t available from the drop down in the table designer in SQL Studio Manager... you should be able to just type it in....&lt;/p&gt;</description></item><item><title>Re: Text Box 50 Character Limit</title><link>https://www.infopathdev.com:443/forums/thread/36221.aspx</link><pubDate>Tue, 23 Dec 2008 22:51:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36221</guid><dc:creator>danhayes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36221.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36221</wfw:commentRss><description>&lt;p&gt;Thank you for all you responses, unfortunately though none of the suggestions work.&amp;nbsp; I should mention that I am using a SQL2005 DB with InfoPath 2003.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have set my column in the DB&amp;nbsp;to NVARCHAR(MAX) don&amp;#39;t have a datatype of NVARCHAR(256) limiting the box doesn&amp;#39;t do anything.&amp;nbsp; I get the following error when attempting to insert more than 50 characters into this text box &amp;quot;Only Text string less than or equal to 50 characters is allowed&amp;quot;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any other suggestions please?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Text Box 50 Character Limit</title><link>https://www.infopathdev.com:443/forums/thread/36175.aspx</link><pubDate>Tue, 23 Dec 2008 06:34:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36175</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36175.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36175</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If you want to limit is minimum 250 characters then you should add validation for that field.&lt;/p&gt;
&lt;p&gt;Add the validation like below expression,&lt;/p&gt;
&lt;p&gt;&lt;b&gt;string-length(.) &amp;lt; 250&lt;/b&gt;&lt;/p&gt;</description></item><item><title>Re: Text Box 50 Character Limit</title><link>https://www.infopathdev.com:443/forums/thread/36173.aspx</link><pubDate>Tue, 23 Dec 2008 05:31:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36173</guid><dc:creator>madhuri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36173.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36173</wfw:commentRss><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;To limit the characters of the text box you need to set property on the text box.&lt;/p&gt;
&lt;p&gt;1.Open the the Properties window bt right clicking on the text box control&lt;br /&gt;2.Click on &amp;#39;Display&amp;#39; tab&lt;br /&gt;3.check &amp;#39;Limit text box to&amp;#39; check box&lt;br /&gt;4.Enter the number of characters&amp;nbsp;that you want to have limit on the text box i.e. 250&lt;br /&gt;5.Click &amp;#39;Ok&amp;#39;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Text Box 50 Character Limit</title><link>https://www.infopathdev.com:443/forums/thread/36172.aspx</link><pubDate>Tue, 23 Dec 2008 05:28:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36172</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36172.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36172</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use text box length as nvarchar256 in the db. and make text box length as 256 limit in the infopath form.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Double click on the text box.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Switch to &amp;quot;Display&amp;quot; tab.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Select &amp;quot;Limit Text box to:&amp;quot; check box.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Enter 256 in the text box field.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click on ok.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;</description></item><item><title>Text Box 50 Character Limit</title><link>https://www.infopathdev.com:443/forums/thread/36171.aspx</link><pubDate>Tue, 23 Dec 2008 05:15:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36171</guid><dc:creator>danhayes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36171.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36171</wfw:commentRss><description>&lt;p&gt;Hi I&amp;#39;m new to all this, I have a 1 form that connects to a SQL 2005 DB.&amp;nbsp; I can retrieve and submit data.&amp;nbsp; I had to set all my Columns to nvarchar50 before the submit will work.&amp;nbsp; A limit of 50 is no good to me, I need at least 250 characters.&amp;nbsp; Does anyone have any suggestions please?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Many thanks&lt;/p&gt;</description></item></channel></rss>