<?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: Concat a multiline textbox with newline value</title><link>https://www.infopathdev.com:443/forums/thread/91409.aspx</link><pubDate>Mon, 15 Jul 2013 17:14:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91409</guid><dc:creator>brunettej</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91409.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=91409</wfw:commentRss><description>Patrick,

    Thanks for the info.  I know this isn&amp;#39;t the best way to do what I am doing but works for what my works need.  I am still messing with other options.  Anyways thanks for the reply, greatly appreciated.</description></item><item><title>Re: Concat a multiline textbox with newline value</title><link>https://www.infopathdev.com:443/forums/thread/91348.aspx</link><pubDate>Sat, 13 Jul 2013 19:59:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91348</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91348.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=91348</wfw:commentRss><description>&lt;p&gt;I responded to a post about a month ago. You can concat a newline to your field if you use another field that is set to the newline. You can test this out by adding a multiline field to your form and entering a line into it. Add a button that concatenates this field to your others. How to set by default? Just file-&amp;gt;save the XML and add a data connection to include the XML for the newline field. Then your concat can use that instead of a field from your main data source.&lt;/p&gt;
&lt;p&gt;So that should work, but you may want to rethink what you are doing. &lt;/p&gt;
&lt;p&gt;&amp;lt;rant&amp;gt;&lt;/p&gt;
&lt;p&gt;Sounds like you are not taking advantage of the structured data output that InfoPath is capable of. &lt;/p&gt;
&lt;p&gt;In other words, the output format should be XML. The process that consumes it should change to handle that. That&amp;#39;s easier than hacking InfoPath to spit out something that uses old-school newlines to separate records. Why cripple the capabilities of InfoPath by downshifting the output?&lt;/p&gt;
&lt;p&gt;&amp;lt;/rant&amp;gt;&lt;/p&gt;
&lt;p&gt;Good luck!&lt;/p&gt;
&lt;p&gt;P&lt;/p&gt;</description></item><item><title>Concat a multiline textbox with newline value</title><link>https://www.infopathdev.com:443/forums/thread/91342.aspx</link><pubDate>Fri, 12 Jul 2013 19:38:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91342</guid><dc:creator>brunettej</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91342.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=91342</wfw:commentRss><description>&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;I need some help.&amp;nbsp; I am using Infopath 2010 and I am looking for a way keep adding values to a textbox once a butoon is clicked.&amp;nbsp; I have a equipment request form that does the following:&lt;/p&gt;
&lt;p&gt;user selects the following:&lt;/p&gt;
&lt;p&gt;1. (radio buttons) catagory&lt;/p&gt;
&lt;p&gt;2. (dropdowl list) department&lt;/p&gt;
&lt;p&gt;3. (dropdown list) description&lt;/p&gt;
&lt;p&gt;Once all 3 of the above are selected additional information such as part number, cost, amount on hand are displayed in (readonly) textboxes.&amp;nbsp; Ok. heres where I have trouble.&amp;nbsp; I now want the user, if happy, click the &amp;quot;add to cart button&amp;quot; where I would concat() certian objects and set a value of another multiline textbox such as:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;Catagory selected&amp;nbsp;2. Description 3.&amp;nbsp;Cost &amp;lt;-&amp;quot;value from read only textbox&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This works fine but I want to allow another selection to be made possible and add that new selection to the same textbox but with a newline return so now it would look like this:&lt;/p&gt;
&lt;p&gt;&amp;lt;new selection&amp;gt; 1.&amp;nbsp;Catagory selected&amp;nbsp;2. Description 3.&amp;nbsp;Cost &amp;lt;-&amp;quot;value from read only textbox&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;lt;old selection&amp;gt; 1.&amp;nbsp;Catagory selected&amp;nbsp;2. Description 3.&amp;nbsp;Cost &amp;lt;-&amp;quot;value from read only textbox&amp;quot;&lt;/p&gt;
&lt;p&gt;and keep going unyill they selected everything.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This is an easy day if I was allowed to use C# but I can&amp;#39;t use code behind&amp;nbsp;due to my work policies.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;C#: tbxCart += &amp;quot;\n&amp;quot; +&amp;nbsp;ddlDescription.selectedValue.tostring() + &amp;quot; &amp;quot; +&amp;nbsp;tbxCost.text&amp;nbsp;//might be wrong but the concept is there&lt;/p&gt;
&lt;p&gt;Is there any way to do this without the use of a&amp;nbsp;repeating section or repeating table.&amp;nbsp; I know its not a correct way to do a &amp;quot;shopping cart&amp;quot; but it works for my application.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Thnak you all very much.&lt;/p&gt;</description></item></channel></rss>