<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Emailing Forms</title><link>https://www.infopathdev.com:443/forums/thread/9522.aspx</link><pubDate>Wed, 12 Apr 2006 22:38:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9522</guid><dc:creator>jbrixey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9522.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9522</wfw:commentRss><description>My Bad, My problem was the reference to my field was incorrect. Field name was EmailBody and I was putting in emailbody. Did not realize field references were case sensitive.</description></item><item><title>Emailing Forms</title><link>https://www.infopathdev.com:443/forums/thread/5523.aspx</link><pubDate>Wed, 12 Apr 2006 20:58:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5523</guid><dc:creator>jbrixey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5523.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5523</wfw:commentRss><description>Yes, I know that this is probably a beaten dead horse, but unfortunately, my searches through the forums have not yeilded the answer.&lt;br /&gt;&lt;br /&gt;I have an email submit button with a data connection set to the default name of Submit. When there is no code modification, it works fine and submits the email to the preconfigured email address specified in the wizard. When I open the on click event of the submit button and insert the following code&lt;br /&gt;&lt;br /&gt;function btnSubmit::OnClick(eventObj)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;var objEmail = XDocument.DataAdapters("Submit");&lt;br /&gt;objEmail.Intro =  XDocument.DOM.selectSingleNode("//my:emailbody").text;&lt;br /&gt;objEmail.Submit();&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I get the error, object required in the objEmail.Intro line. The source of the emailbody text box is just a string.&lt;br /&gt;&lt;br /&gt;I am using JS as the language.</description></item></channel></rss>