<?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: Limiting the size of a text box</title><link>https://www.infopathdev.com:443/forums/thread/75321.aspx</link><pubDate>Wed, 15 Feb 2012 19:15:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75321</guid><dc:creator>karson6</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75321.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75321</wfw:commentRss><description>&lt;p&gt;Thanks for your post, Anson.&amp;nbsp;&amp;nbsp; I ended up going with a fixed height on the text box and using a scroll bar when necessary because I need the ability to add paragraph breaks.&amp;nbsp; The rest is a training issue for users - if they see the scroll bar, then they need to be aware that the form will bump to another page.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Limiting the size of a text box</title><link>https://www.infopathdev.com:443/forums/thread/75278.aspx</link><pubDate>Wed, 15 Feb 2012 00:04:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75278</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75278.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75278</wfw:commentRss><description>&lt;p&gt;The functionality you are asking for is not available out of the box.&amp;nbsp; There might be a custom code solution, but it would likely be difficult to implement since that would require some complex calculation to determine how much text you have + how much width each character is taking up + paragraph/line breaks, etc.&lt;/p&gt;&lt;p&gt;The best workarounds I can suggest are&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Use the scroll bar - this will limit the size of the control but users can type more than the space allows&lt;/li&gt;&lt;li&gt;Use a character limit - this will block users from using paragraph breaks&lt;/li&gt;&lt;li&gt;Use a fixed-width font, set the height of the your text control, and limit the number of characters - probably the closest solution to what you want.&amp;nbsp; Pick a fixed with font (like courier or consolas) and count the max number of characters that go in a line and multiply by the number of lines your control allows.&amp;nbsp; Then set the limit to equal that amount.&amp;nbsp; This will still disallow character breaks, but you can hand modify the xsn to get around this.&amp;nbsp; However, that might break your max count if you choose to allow paragraph breaks.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;I hope this was informative even though the options aren&amp;#39;t exactly what you&amp;#39;re looking for.&lt;/p&gt;</description></item><item><title>Limiting the size of a text box</title><link>https://www.infopathdev.com:443/forums/thread/75254.aspx</link><pubDate>Tue, 14 Feb 2012 19:22:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75254</guid><dc:creator>karson6</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75254.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75254</wfw:commentRss><description>&lt;p&gt;I have a comment field where I use a text box contol that I need to limit the size so it doesn&amp;#39;t push hard-coded text below it onto a new page.&amp;nbsp;&amp;nbsp; I know in the text box properties I can limit the number of characters but when I used this, I lose the functionality of letting the users have Paragraph breaks within the text box.&lt;/p&gt;
&lt;p&gt;Is there a way to limit the height of the field, like say to 3 inches and allow both paragraph breaks and wrapping text?&amp;nbsp; I tried setting the&amp;nbsp;height of the text box under the properties Size tab but this still allows more text (just limits the amount the is viewable without needing a scroll bar.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;My main objective is not allowing the form to bump to another page.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>