<?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: Help with a "Select All and Copy to Clipboard" button?</title><link>https://www.infopathdev.com:443/forums/thread/105573.aspx</link><pubDate>Thu, 18 Feb 2016 19:16:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105573</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105573.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=105573</wfw:commentRss><description>You need to add code to the form. You cannot do what you want with just rules in InfoPath - right click your button and select the button properties, then you can add code to the button.</description></item><item><title>Re: Help with a "Select All and Copy to Clipboard" button?</title><link>https://www.infopathdev.com:443/forums/thread/105571.aspx</link><pubDate>Thu, 18 Feb 2016 17:15:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105571</guid><dc:creator>NickDeperto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105571.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=105571</wfw:commentRss><description>This is giving me some weird error. As I said I am exteremely noobie to this, so bare with me. But yeah, i copied the xpath of the note output and pasted it in the code you gave me, then copied the entire code, right clicked on my button, hit &amp;quot;button properties&amp;quot; then hit the &amp;quot;fx&amp;quot; symbol to put the code in and pasted it in there and got an error saying jibberish.  Any advise?  :/</description></item><item><title>Re: Help with a "Select All and Copy to Clipboard" button?</title><link>https://www.infopathdev.com:443/forums/thread/105565.aspx</link><pubDate>Thu, 18 Feb 2016 15:48:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105565</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105565.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=105565</wfw:commentRss><description>&lt;p&gt;With a filler form, set to use C#, that has a using System.Windows.Forms statement at the top of the code file, add code to your button:&lt;/p&gt;

&lt;blockquote style="margin-right:0px;" dir="ltr"&gt;
&lt;p&gt;&lt;font face="Consolas" size="2"&gt;&lt;font face="Consolas" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" face="Consolas" size="2"&gt;&lt;font color="#0000ff" face="Consolas" size="2"&gt;&lt;font color="#0000ff" face="Consolas" size="2"&gt;string&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Consolas" size="2"&gt;&lt;font face="Consolas" size="2"&gt; text = &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" face="Consolas" size="2"&gt;&lt;font color="#0000ff" face="Consolas" size="2"&gt;&lt;font color="#0000ff" face="Consolas" size="2"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Consolas" size="2"&gt;&lt;font face="Consolas" size="2"&gt;.MainDataSource.CreateNavigator().SelectSingleNode(&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" face="Consolas" size="2"&gt;&lt;font color="#a31515" face="Consolas" size="2"&gt;&lt;font color="#a31515" face="Consolas" size="2"&gt;&amp;quot;&lt;strong&gt;/my:myFields/my:field1&lt;/strong&gt;&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Consolas" size="2"&gt;&lt;font face="Consolas" size="2"&gt;, NamespaceManager).Value;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font face="Consolas" size="2"&gt;&lt;font face="Consolas" size="2"&gt;            &lt;/font&gt;&lt;/font&gt;&lt;font color="#2b91af" face="Consolas" size="2"&gt;&lt;font color="#2b91af" face="Consolas" size="2"&gt;&lt;font color="#2b91af" face="Consolas" size="2"&gt;Clipboard&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Consolas" size="2"&gt;&lt;font face="Consolas" size="2"&gt;.SetText(text);&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;See the part in bold that says &amp;quot;/my:myFields/myfield1&amp;quot;? &lt;/p&gt;
You need to change that to the correct XPath for your field. Find the field in the fields task pane in InfoPath designer. Right click and select Copy XPath, then paste it in.&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Help with a "Select All and Copy to Clipboard" button?</title><link>https://www.infopathdev.com:443/forums/thread/105556.aspx</link><pubDate>Wed, 17 Feb 2016 22:26:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105556</guid><dc:creator>NickDeperto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105556.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=105556</wfw:commentRss><description>I am EXTREMELY new to infopath and I only know how to do extremely basic stuff.
I am needing help setting it up to where anything that is in a text box at the bottom a form I am creating can be all be selected and copied to the clipboard with the click of a button. I have no clue where to even begin and I know nothing about coding, period. 
I have a beginners understanding of Rules and how to manage them, if that helps.

But yeah, I am making a form that as you fill out required fields, it auto-populates a text field at the end to say what needs to be said in a notes section for something at my job.  So i want the button to take everything that has been autopopulated into the field and copy it to the clipboard.  Can someone help me with a &amp;quot;for-dummies&amp;quot;, step-by-step guide as to how to make this button in infopath designer?  It does not need to work on the web or anything, it is for offline use.</description></item></channel></rss>