<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: E-mail Body - taken from fields</title><link>https://www.infopathdev.com:443/forums/thread/53989.aspx</link><pubDate>Wed, 21 Apr 2010 16:13:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53989</guid><dc:creator>ncolyer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53989.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=53989</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s what I thought but the original response I got said I can use that code. I didn&amp;#39;t think i was able to.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there an easy way to convert it to Javascript or is it easier just to use InfoPath 2007? Does this mean everyone accessing the form will need InfoPath 2007 as well?&lt;/p&gt;
&lt;p&gt;Or how do i get Infopath 2003 to use C# or VB.NET? &lt;/p&gt;
&lt;p&gt;Thanks for your help on this :)&lt;/p&gt;</description></item><item><title>Re: E-mail Body - taken from fields</title><link>https://www.infopathdev.com:443/forums/thread/53988.aspx</link><pubDate>Wed, 21 Apr 2010 16:10:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53988</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53988.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=53988</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;The code you pasted is for C# in InfoPath 2007+, but your form seems to be set up to use JScript, so this will not work.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: E-mail Body - taken from fields</title><link>https://www.infopathdev.com:443/forums/thread/53987.aspx</link><pubDate>Wed, 21 Apr 2010 16:05:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53987</guid><dc:creator>ncolyer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53987.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=53987</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;It doesn&amp;#39;t seem to work. Is this because it&amp;#39;s in VB and C#?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;This is what I have now:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;function btnSubmit::OnClick(eventObj) &lt;/p&gt;
&lt;p&gt;{ &lt;/p&gt;
&lt;p&gt;public void btnSubmit_Clicked(object sender, ClickedEventArgs e) &lt;/p&gt;
&lt;p&gt;{ //get the value from the text field &lt;/p&gt;
&lt;p&gt;string interestingText = MainDataSource.CreateNavigator().SelectSingleNode(&amp;quot;/my:myFields/my:TB-EngineerName&amp;quot;, NamespaceManager).Value; &lt;/p&gt;
&lt;p&gt;//get that email submit connection EmailSubmitConnection emailSubmit = (EmailSubmitConnection)this.DataConnections[&amp;quot;SubmitForm&amp;quot;]; &lt;/p&gt;
&lt;p&gt;//set the introduction with a value from the form &lt;/p&gt;
&lt;p&gt;emailSubmit.Introduction = &amp;quot;This is my shiny new introduction with Engineer Name&amp;quot; + interestingText + &amp;quot;\nAnd an interesting value from a text field as well: The engineer name again! &amp;quot; + interestingText; &lt;/p&gt;
&lt;p&gt;//submit the form&lt;/p&gt;
&lt;p&gt;this.Submit();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;} &lt;/p&gt;
&lt;p&gt;} &lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: E-mail Body - taken from fields</title><link>https://www.infopathdev.com:443/forums/thread/53945.aspx</link><pubDate>Wed, 21 Apr 2010 06:09:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53945</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53945.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=53945</wfw:commentRss><description>&lt;p&gt;yes,you can use that&lt;/p&gt;</description></item><item><title>E-mail Body - taken from fields</title><link>https://www.infopathdev.com:443/forums/thread/53901.aspx</link><pubDate>Tue, 20 Apr 2010 14:03:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53901</guid><dc:creator>ncolyer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53901.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=53901</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m using Infopath 2003 and I&amp;#39;ve created a form.&lt;/p&gt;&lt;p&gt;I want to have 2-3 submit buttons on the form which send different data off to different people.&lt;/p&gt;&lt;p&gt;Essentially I want the buttons to take some data from various text box fields on the form and add it to the body of the message.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I found this link here: http://www.infopathdev.com/blogs/hilary/archive/2008/08/24/so-you-want-to-send-an-email.aspx but I&amp;#39;m noticing that is for c# and VB.Net. When I open my code screen I get the following:&lt;/p&gt;&lt;p&gt;&amp;nbsp;function CTRL110_5::OnClick(eventObj)&lt;/p&gt;&lt;p&gt;
{
	&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;// Write your code here
&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;Can I use the same code in the link above? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>