<?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: How to: Default Text with Line Returns in a Rich Text Box?</title><link>https://www.infopathdev.com:443/forums/thread/86017.aspx</link><pubDate>Mon, 14 Jan 2013 18:54:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86017</guid><dc:creator>nkstrou</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86017.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=86017</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Good point.&amp;nbsp; I&amp;#39;d assumed I needed the rich text control in order to get the line returns to work in the first place (and I was also considering using bulleted lists), but I changed my controls to standard textboxes and my lists were both short enough that they fit (I&amp;#39;m thinking standard textboxes have a 255-character limit?). So I&amp;#39;ll go with that!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;&lt;p&gt;nkstrou &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to: Default Text with Line Returns in a Rich Text Box?</title><link>https://www.infopathdev.com:443/forums/thread/85984.aspx</link><pubDate>Fri, 11 Jan 2013 20:28:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85984</guid><dc:creator>jazaddict</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85984.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=85984</wfw:commentRss><description>&lt;p&gt;I got the same results as you with Rich Text Box....I even&amp;nbsp;put a button on there &amp;amp; tried to &amp;quot;Set Fields Value&amp;quot; on click....no crlf.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you can get by without the &amp;quot;Rich&amp;quot;, I got it to work using a &amp;quot;text box&amp;quot; control with &amp;quot;Display &amp;gt; Multi Line&amp;quot; checked.(considering you&amp;#39;re locking it to ReadOnly w/ fixed text....maybe you don&amp;#39;t need it rich?).&lt;/p&gt;
&lt;p&gt;I have the secondary data connection for cr, lf, and crlf as you mentioned, so the default value of the &amp;quot;Text box&amp;quot; was:&lt;/p&gt;
&lt;p&gt;concat(&amp;quot;LIst1&amp;quot;, @crlf, &amp;quot;list2&amp;quot;)&lt;/p&gt;</description></item><item><title>How to: Default Text with Line Returns in a Rich Text Box?</title><link>https://www.infopathdev.com:443/forums/thread/85943.aspx</link><pubDate>Thu, 10 Jan 2013 20:28:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85943</guid><dc:creator>nkstrou</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85943.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=85943</wfw:commentRss><description>&lt;p&gt;Hi all - &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I have an InfoPath 2010 filler form where I need a couple of rich text boxes to have default text with multiple lines (basically a 2-item list and a 3-item list).&amp;nbsp; The info in these text boxes will never be changed, I will be locking it down to read-only, and it doesn&amp;#39;t need to go to SharePoint or anything tricky like that.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve already done some research and know I need to have Paragraph Breaks and Wrap Text turned on (check and check) and I&amp;#39;ve tried the suggestion that appears to work with older versions of IP to create a secondary data connection to an external XML file that contains the code for line feed (lf), carriage return (cr) and carriage return line feed (crlf).&amp;nbsp; I created an action rule to set my one of my rich text boxes with the text I need with an @crlf that I pull from the secondary data connection and add where I want the line returns to appear. (so concat(&amp;quot;List item 1. &amp;quot;, @crlf, &amp;quot;List item 2. &amp;quot;, @crlf, &amp;quot;List item 3. &amp;quot;)).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The rule sets my rich text box with the desired text, but alas, without the line returns - i.e. &amp;quot;List Item 1. List Item 2. List Item 3.&amp;quot;, all on a single line.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Is there a different trick to doing this in IP 2010?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;nkstrou &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>