<?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: Carriage Return In Text Box</title><link>https://www.infopathdev.com:443/forums/thread/121517.aspx</link><pubDate>Mon, 16 Sep 2019 19:49:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121517</guid><dc:creator>evans.justin.dev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121517.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=121517</wfw:commentRss><description>&lt;p&gt;struggling with this&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Carriage Return In Text Box</title><link>https://www.infopathdev.com:443/forums/thread/103110.aspx</link><pubDate>Mon, 06 Jul 2015 11:07:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103110</guid><dc:creator>GuyBoswell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103110.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=103110</wfw:commentRss><description>&lt;p&gt;I find dozens of posts on different forums and blogs about carriage returns but they all refer back to this discussion.&lt;/p&gt;&lt;p&gt;But this does not work in browser.&amp;nbsp; Is there any solution that does?&lt;/p&gt;&lt;p&gt;I am using InfoPath 2010 published to browser enabled form in SharePoint 2013 in the cloud.&amp;nbsp; Submission is as a read only view to an email but the result is the same in the form and the email.&lt;/p&gt;&lt;p&gt;CODE SOLUTIONS ARE NOT POSSIBLE!&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;ll say it again&amp;nbsp; CODE SOLUTIONS ARE NOT POSSIBLE!&lt;/p&gt;&lt;p&gt;&amp;nbsp;This isn&amp;#39;t personal preference or anything - IT JUST IS NOT POSSIBLE TO PUBLISH A FORM WITH CODE TO SHAREPOINT IN THE CLOUD!&lt;/p&gt;&lt;p&gt;I have seen many different versions of the syntax to go in the XML but whatever I enter in the XML it just comes back as plain text in the text box or doesn&amp;#39;t show at all.&amp;nbsp; I never get a line feed or carriage return.&lt;/p&gt;&lt;p&gt;I have tried the alternative methods in this discussion such as creating a field with default value string(&amp;quot; ...&amp;nbsp; carriage return ...&amp;quot;) and again I have tried various different syntax I have seen described but the solution is still the same.&lt;/p&gt;&lt;p&gt;Is it possible to insert a carriage return in a piece of text in a browser enabled form without code?&lt;/p&gt;</description></item><item><title>Re: Carriage Return In Text Box</title><link>https://www.infopathdev.com:443/forums/thread/97439.aspx</link><pubDate>Mon, 12 May 2014 16:04:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97439</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97439.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=97439</wfw:commentRss><description>&lt;p&gt;Super clever! Thanks for sharing this!&lt;/p&gt;</description></item><item><title>Re: Carriage Return In Text Box</title><link>https://www.infopathdev.com:443/forums/thread/97437.aspx</link><pubDate>Mon, 12 May 2014 15:48:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97437</guid><dc:creator>stuck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97437.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=97437</wfw:commentRss><description>&lt;p&gt;I just thought I would share how I got this working in a very few simple steps. I needed a breakline between field1 and field2. &lt;/p&gt;&lt;p&gt;1. I created another text field and called it LineBreak. &lt;/p&gt;&lt;p&gt;2. In the default value box I inserted this Formula:&lt;/p&gt;&lt;p&gt;string(&amp;quot; &lt;/p&gt;&lt;p&gt;&amp;quot;) &lt;/p&gt;&lt;p&gt;&lt;em&gt;Remember to have a space between the &amp;quot; &amp;quot; (quotes). Hit Ctrl+Enter on your keyboard to create a new line. The &amp;quot;) should appear on a new line as shown above.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;3. Then all you have to do is use the LineBreak field in&amp;nbsp;the&amp;nbsp;formula of the textbox that you need the line breaks. e.g. concat(&lt;u&gt;Field1&lt;/u&gt;, &lt;u&gt;LineBreak&lt;/u&gt;, &lt;u&gt;Field2&lt;/u&gt;)&lt;/p&gt;&lt;p&gt;Hope this helps.&lt;/p&gt;</description></item><item><title>Re: Carriage Return In Text Box</title><link>https://www.infopathdev.com:443/forums/thread/96894.aspx</link><pubDate>Fri, 04 Apr 2014 21:59:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96894</guid><dc:creator>therlihyjr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96894.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96894</wfw:commentRss><description>I am not sure if this is necessary, or even relevant anymore, but I wanted to get my fix somewhere on the interwebs after spending about two days trying to make this work. This is a very low tech solution. 

Using: Infopath 2010, with SharePoint 2010. 
On: Custom list
Goal: Create a button, that when pressed, will generate a template in a text box for my agents to copy and paste. 
Primary issue was getting line breaks/carriage returns 

Solution: Create a text box which stores a carriage return, and then use that box whenever you want said return in your template builder. 

1. Create a plain text box labeled &amp;#39;Line Break&amp;#39;
2. Create a plain text output box (mine was labeled: Templates)
3. Create a button, label it whatever, and set it to run rules

So, I have two boxes that are being used, and one button. The button, for example will say &amp;#39;Triage Template&amp;#39;. When this button is pressed, two rules run. 
Rule 1 will 
Set a fields value. 
Field: Line Break
Value: string(&amp;quot;ctrl+enter&amp;quot;) (To be clear, you will not type that exactly, you will actually hit the control and enter keys at the same time inside of your &amp;quot; &amp;quot;, this will add the line break)

Rule 2 will
Set a fields valud
Field: Templates
Value: concat(field1,LineBreak,Field2,&amp;quot;Text&amp;quot;,field3)
The line break in that expression being the field you set to ctrl+enter in rule 1. 

I have looked at many ways to do this, including creating an xml document and uploading it to sharepoint (which subsequently will not work with my parameters). I have not seen this solution online, so I thought I should put it somewhere. 

Good luck all!</description></item><item><title>Re: Carriage Return In Text Box</title><link>https://www.infopathdev.com:443/forums/thread/91160.aspx</link><pubDate>Mon, 08 Jul 2013 13:44:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91160</guid><dc:creator>jaxkookie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91160.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=91160</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I would be curious to know how you get a bulleted list, txt box or rich text?&lt;/p&gt;</description></item><item><title>Re: Carriage Return In Text Box</title><link>https://www.infopathdev.com:443/forums/thread/70261.aspx</link><pubDate>Tue, 13 Sep 2011 18:32:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70261</guid><dc:creator>dapklp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70261.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70261</wfw:commentRss><description>&lt;p&gt;I received this response via e-mail, but I don&amp;#39;t understand it and what I do understand I think is not applicable:&lt;/p&gt;
&lt;p&gt;&amp;quot;The XML file as a resource does work in browser forms. I have used this many time over the last several years. there are several you may want to check. One if the formatting of your XML file. the file must be saved in a UTF format because this is the XML standard. Also attach the file as a secondary data source within the form so it stays with the form and available at all times. When I first ran into this the biggest problem I had was either with the format of my XML file or how I attached it. When you add the @crlf, you do this the same way you insert a field from any data source. and lastly make sure your textbox allows multiple lines under the display tab&amp;quot;&lt;/p&gt;
&lt;p&gt;What I&amp;#39;m trying to do is consolidate 38 different fields into one field that I can use in an e-mail. I check field #1. If it is empty, nothing happens. If it contains data, I grab my destination field in the form and append this data as the first bullet. I then check each of the 37 other fields and each one&amp;nbsp;that contains data pulls the destination field and appends the data as an additional bullet. This works fine with a text field (I get 38 bulleted items, each on a separate line), but I can only send the first 255 characters in a text field to my document libray in SharePoint. I can send unlimited characters using a Rich Text Field, but I can&amp;#39;t get my 38 sets of data to appear on separate lines. My form is not browser enabled, there are no attachments, and my destination field is configured to display multiple lines. I don&amp;#39;t know what format InfoPath uses to save the XML file in the document library. Hope that clarifies.&lt;/p&gt;
&lt;p&gt;I could send each of my 38 fields separately to my document library, but I cannot selectively insert only populated fields into an e-mail using SharePoint Designer. If 37 were blank and only 1 was populated, I&amp;#39;d end up with a lot of unnecessary white space in my e-mail. DAP&lt;/p&gt;</description></item><item><title>Re: Carriage Return In Text Box</title><link>https://www.infopathdev.com:443/forums/thread/70257.aspx</link><pubDate>Tue, 13 Sep 2011 17:22:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70257</guid><dc:creator>dapklp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70257.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70257</wfw:commentRss><description>&lt;p&gt;Now that I have a nice bulleted list in my text box...any ideas on how I can export if from the form so I can send that list to someone? If I push my field containing my list to the document library and then use Designer to forward it to someone in an e-mail, I am limited to 255 characters. &lt;/p&gt;</description></item><item><title>Re: Carriage Return In Text Box</title><link>https://www.infopathdev.com:443/forums/thread/70175.aspx</link><pubDate>Fri, 09 Sep 2011 14:01:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70175</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70175.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70175</wfw:commentRss><description>&lt;p&gt;Yes, this makes sense.&amp;nbsp; Rich Text boxes are essentially HTML and line breaks in HTML don&amp;#39;t mean anything when it is actually rendered.&amp;nbsp; There is probably&amp;nbsp;not a way to put line breaks in a rich text box with just rules.&lt;/p&gt;</description></item><item><title>Re: Carriage Return In Text Box</title><link>https://www.infopathdev.com:443/forums/thread/70174.aspx</link><pubDate>Fri, 09 Sep 2011 12:01:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70174</guid><dc:creator>dapklp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70174.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70174</wfw:commentRss><description>&lt;p&gt;Oh, and BTW, we do not use Forms Server (browser forms)...this is with InfoPath as a desktop application. DAP&lt;/p&gt;</description></item><item><title>Re: Carriage Return In Text Box</title><link>https://www.infopathdev.com:443/forums/thread/70173.aspx</link><pubDate>Fri, 09 Sep 2011 11:58:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70173</guid><dc:creator>dapklp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70173.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70173</wfw:commentRss><description>&lt;p&gt;Through further experimentation, I was able to make it work. I put a character before and after the Ctrl+Enter and observed the results. With the rich text box, there is no property&amp;nbsp;indicator for multi-line (specifically), so I created a duplicate&amp;nbsp;text box and tried it there - Whala!&amp;nbsp;It works with a text box, but not with a rich text box - go figure. Thanks for pointing me in the right direction. DAP&lt;/p&gt;</description></item><item><title>Re: Carriage Return In Text Box</title><link>https://www.infopathdev.com:443/forums/thread/70168.aspx</link><pubDate>Fri, 09 Sep 2011 04:29:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70168</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70168.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70168</wfw:commentRss><description>&lt;p&gt;Hi dapklp,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; Thanks for the very detailed clarification.&amp;nbsp; Could you check your text box&amp;#39;s properties to make sure that the&amp;nbsp;multiline option&amp;nbsp;is enabled?&amp;nbsp; Is this a browser form?&amp;nbsp; I think I remember there being a limitation with displaying multiline values on browser forms.&lt;/p&gt;</description></item><item><title>Re: Carriage Return In Text Box</title><link>https://www.infopathdev.com:443/forums/thread/70165.aspx</link><pubDate>Thu, 08 Sep 2011 21:58:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70165</guid><dc:creator>dapklp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70165.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70165</wfw:commentRss><description>&lt;p&gt;First, I tried creating an xml file in Notepad&amp;nbsp;and referencing it in the InfoPath form. The file is called &amp;quot;characters&amp;quot;:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;characters &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cr=&amp;quot;&amp;amp;#xD;&amp;quot; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lf=&amp;quot;&amp;amp;#xA;&amp;quot; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; crlf=&amp;quot;&amp;amp;#xD;&amp;amp;#xA;&amp;quot; &lt;br /&gt;/&amp;gt;&lt;/p&gt;
&lt;p&gt;field&amp;nbsp;1 =&amp;nbsp;xxxxx&lt;br /&gt;field 2 =&amp;nbsp;zzzzz&lt;/p&gt;
&lt;p&gt;I added the xml file as a data source and then concatinated &amp;quot;field 1&amp;quot;, @cr, &amp;quot;field 2&amp;quot; (I also tried &amp;quot;field 1&amp;quot;, @cr, @lf, @crlf, &amp;quot;field 2&amp;quot;)&lt;/p&gt;
&lt;p&gt;What I got in my rich text field was &amp;quot;xxxxx zzzzz&amp;quot; every time&lt;/p&gt;
&lt;p&gt;What I want is: xxxxx&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zzzzz&lt;/p&gt;
&lt;p&gt;I then tried creating a text field (field 3)&amp;nbsp;in the form that is read only, allows paragraph breaks, and does not refresh. The default value of the field is Ctrl+Enter nested between 2 quotation marks. (The Ctrl+Enter was not typed, but actually entered, causing the second quotation mark to line up below the first one in the function view of the default value for the field. Using this file, I then concatinated &amp;quot;field 1&amp;quot;, &amp;quot;field 3&amp;quot;, &amp;quot;field 2&amp;quot; - same results. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;nbsp;then added&amp;nbsp; amp=&amp;quot;&amp;amp;#38;&amp;quot; to the xml file and concatinated &amp;quot;field 1&amp;quot;, @amp, &amp;quot;field 2&amp;quot;&lt;/p&gt;
&lt;p&gt;What I got in my rich text field was &amp;quot;xxxxx &amp;amp; zzzzz&amp;quot;&lt;/p&gt;
&lt;p&gt;This tells me that my file is pullin in the xml value from &amp;quot;characters.xml&amp;quot; for the &amp;amp;, but not for the carriage return/line feed.&lt;/p&gt;
&lt;p&gt;Hopefully this is enough information. My goal is to send this file to the SharePoint document library so that I can use Designer and create an e-mail that lists up to 38 different fields that need to be remediated by the user. I can&amp;#39;t conditionalize the fields to say only bring in fields that aren&amp;#39;t empty, hence trying to put them all into one field that I import into the e-mail notification for remediation. BTW, I try to stay as far away from code as possible.&amp;nbsp; :o)&lt;/p&gt;
&lt;p&gt;Comments/suggestions?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Carriage Return In Text Box</title><link>https://www.infopathdev.com:443/forums/thread/70140.aspx</link><pubDate>Thu, 08 Sep 2011 14:21:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70140</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70140.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70140</wfw:commentRss><description>&lt;p&gt;It&amp;#39;s difficult to understand what you are saying.&amp;nbsp; Could you describe the steps you took in more detail, maybe in a numbered list?&lt;/p&gt;</description></item><item><title>Re: Carriage Return In Text Box</title><link>https://www.infopathdev.com:443/forums/thread/70135.aspx</link><pubDate>Thu, 08 Sep 2011 14:07:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70135</guid><dc:creator>dapklp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70135.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70135</wfw:commentRss><description>&lt;p&gt;Because I could not get the characters.xml file method to work (I can concat a &amp;quot;&amp;gt;&amp;quot; between to fields, but not a carriage return), I tried this as well. I take it that the file with your Ctrl+Enter (between two &amp;quot; &amp;#39;s) was named &amp;quot;Carriagereturn. Nothing happened for me. To make sure the file was being added to the concat results, I then inserted &amp;quot;xxxx&amp;quot; inbetween two Ctrl+Enter&amp;#39;s nested between two &amp;quot; &amp;#39;s. The &amp;quot;xxxx&amp;#39;s&amp;quot; show up, but no line return. Any ideas?&lt;/p&gt;</description></item></channel></rss>