<?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: Eval function line break/ word wrap</title><link>https://www.infopathdev.com:443/forums/thread/118039.aspx</link><pubDate>Tue, 09 Jan 2018 22:41:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118039</guid><dc:creator>NathanWynn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118039.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=118039</wfw:commentRss><description>I have timeEntry (repeating) [Date] &amp;amp; [HoursWorked]

I have a Summary textfield, I added this as the formula for Summary:
xdMath:Eval(xdMath:Eval(../my:timeEntry, &amp;#39;concat(my:Date, &amp;quot;: &amp;quot;, my:HoursWorked, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;) 

2018-01-09: 8;2018-01-10:9; ....

Now, instead of &amp;#39;;&amp;#39;, I would like to add a line break so I attempted adding xdXDocument:GetDOM(&amp;quot;NewLine&amp;quot;)/linebreaks/newLine

xdMath:Eval(xdMath:Eval(../my:timeEntry, &amp;#39;concat(my:Date, &amp;quot;: &amp;quot;, my:HoursWorked, xdXDocument:GetDOM(&amp;quot;NewLine&amp;quot;)/linebreaks/newLine)&amp;#39;), &amp;quot;..&amp;quot;)
and I tried
xdMath:Eval(xdMath:Eval(../my:timeEntry, &amp;#39;concat(my:Date, &amp;quot;: &amp;quot;, my:HoursWorked, xdXDocument:GetDOM(&amp;quot;strings&amp;quot;)/characters/@crlf)&amp;#39;), &amp;quot;..&amp;quot;)

None of the method above worked. Please advice!</description></item><item><title>Re: Eval function line break/ word wrap</title><link>https://www.infopathdev.com:443/forums/thread/100172.aspx</link><pubDate>Thu, 20 Nov 2014 01:44:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100172</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100172.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100172</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve used an XML file with special characters before - not sure if that would work in a double eval. As to word wrap - if this is a browser form, I&amp;#39;ve seen some occasional issues with word wrap in calculated values. You may have to use a read only text box instead.&lt;/p&gt;</description></item><item><title>Eval function line break/ word wrap</title><link>https://www.infopathdev.com:443/forums/thread/100039.aspx</link><pubDate>Thu, 13 Nov 2014 10:55:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100039</guid><dc:creator>Matze01012</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100039.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100039</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello guys,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I would like to know how&amp;nbsp; I can use a word break in the eval function in Infopath.&lt;/p&gt;&lt;p&gt;My function looks like that: eval(eval(field;&amp;quot;;&amp;quot;)..) etc. Can I use the line break/word wrap within this function?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Many thanks in advance!&lt;/p&gt;&lt;p&gt;Matthias &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>