<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Line Break gone after post back</title><link>https://www.infopathdev.com:443/forums/thread/87378.aspx</link><pubDate>Sun, 24 Feb 2013 21:10:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87378</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87378.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=87378</wfw:commentRss><description>&lt;p&gt;Hi David,&lt;/p&gt;&lt;p&gt;Why not just insert rows into a repeating structure? What you are doing is a bit of hackeroo. &lt;/p&gt;&lt;p&gt;K2 InfoPath forms can handle code. qRules has an insert, or you could use the out-of-box default data way to add rows (but make sure K2 ignores the blank ones).&lt;/p&gt;&lt;p&gt;The hackeroo is problematic because of the way in which data is stored in the XML files. You may be able to do it by properly escaping the values on concat but I&amp;#39;m not sure. What is the value in the @crlf? &lt;/p&gt;&lt;p&gt;Sorry I can&amp;#39;t be more helpful,&lt;/p&gt;</description></item><item><title>Line Break gone after post back</title><link>https://www.infopathdev.com:443/forums/thread/87281.aspx</link><pubDate>Wed, 20 Feb 2013 17:30:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87281</guid><dc:creator>IdeasTree</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87281.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=87281</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I have a webbrowser InfoPath form which has a button. &lt;/p&gt;
&lt;p&gt;I use the rule of the button&amp;nbsp;to add text&amp;nbsp;to a text box. I need line break at each button clicking. (I cannot use C# code since this form will work with K2.)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;In the rule, I use&amp;nbsp;&amp;quot;concat&amp;quot; function as&amp;nbsp; &amp;quot;concat(field3,now(),&amp;quot;----&amp;quot;,@crlf)&amp;quot;.&lt;/p&gt;
&lt;p&gt;@crlf is from a xml file data connection.&lt;/p&gt;
&lt;p&gt;&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;cr=&amp;quot;&amp;amp;#xD;&amp;quot; &lt;br /&gt;lf=&amp;quot;&amp;amp;#xA;&amp;quot; &lt;br /&gt;crlf=&amp;quot;&amp;amp;#xD;&amp;amp;#xA;&amp;quot; &lt;br /&gt;/&amp;gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;It works until there is a web page post back.&lt;/p&gt;
&lt;p&gt;i.e, I clicked&amp;nbsp;the button a couple of times,&amp;nbsp;the text box&amp;nbsp;looks good. it is like:&lt;/p&gt;
&lt;p&gt;2013-02-20T12:27:27-----&lt;br /&gt;2013-02-20T12:27:28-----&lt;br /&gt;2013-02-20T12:27:31-----&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Then I uploaded a file to the form,&amp;nbsp;the line break is gone from the text box. it is like:&lt;/p&gt;
&lt;p&gt;2013-02-20T12:27:27----- 2013-02-20T12:27:28----- 2013-02-20T12:27:31-----&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;After that, there is no line break if clicking button again.&lt;/p&gt;
&lt;p&gt;If I save it, and reopen it, there is no line break. But clicking button will add line break to new lines until another page post back.&lt;/p&gt;
&lt;p&gt;I tested this with a very simple form without K2. It still happens.&lt;/p&gt;
&lt;p&gt;How to fix this issue?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>