<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to Get Web Enabled Form Data upon the user submission</title><link>https://www.infopathdev.com:443/forums/thread/22846.aspx</link><pubDate>Tue, 04 Sep 2007 06:00:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22846</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22846.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=22846</wfw:commentRss><description>&lt;p&gt;Hi, I really recommend that you refer to the object model of infopath 2007. i don&amp;#39;t have it installed here so i cannot provide you any more detailed information. search this forum for any other info or just try to google it. sorry, may be someone else can jump in.&lt;/p&gt;</description></item><item><title>Re: How to Get Web Enabled Form Data upon the user submission</title><link>https://www.infopathdev.com:443/forums/thread/22844.aspx</link><pubDate>Mon, 03 Sep 2007 15:40:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22844</guid><dc:creator>sreenivas</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22844.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=22844</wfw:commentRss><description>&lt;p&gt;Hi nukkumatti,&lt;/p&gt;&lt;p&gt;Thanks for the immediate reply.. I think JScript will not work in Infopath 2007 web enabled forms. So do you have any idea about this... ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to Get Web Enabled Form Data upon the user submission</title><link>https://www.infopathdev.com:443/forums/thread/22842.aspx</link><pubDate>Mon, 03 Sep 2007 14:43:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22842</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22842.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=22842</wfw:commentRss><description>&lt;p&gt;not to sure about the syntax as i haven&amp;#39;t used 2007 a lot. in your onlick event of the button you have to write something like (2003 jscript code) var dataAdapter = XDocument.DataAdapters(&amp;quot;NameOfYourDataconnection&amp;quot;); dataAdapter.Submit(); (this will&amp;nbsp;for sure&amp;nbsp;be different in 2007 with managed code, are you using c# ?). Of course before calling this you should get the data from your controls and do with it what ever you need to do. what is actually the reason to grab the info from your controls in the button event ? instead of using code you can also double click the button, click rules and then select Submit using a data connection as the action.&lt;/p&gt;</description></item><item><title>Re: How to Get Web Enabled Form Data upon the user submission</title><link>https://www.infopathdev.com:443/forums/thread/22841.aspx</link><pubDate>Mon, 03 Sep 2007 14:23:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22841</guid><dc:creator>sreenivas</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22841.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=22841</wfw:commentRss><description>&lt;p&gt;Hi nukkumatti,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I did exactly what you said.. i have created dataconnection from tools-&amp;gt;dataconnection-&amp;gt;newdataconnection.. after that i entered the specified formlibrary path... After that i created a button and named as a submit... so what shall i do now..for the form saving.. what is the code for custom button(submit). Please help me&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to Get Web Enabled Form Data upon the user submission</title><link>https://www.infopathdev.com:443/forums/thread/22836.aspx</link><pubDate>Mon, 03 Sep 2007 13:33:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22836</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22836.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=22836</wfw:commentRss><description>&lt;p&gt;Your are on the right track. You cannot use the Save button from the menu bar. You have to create a custom submit/save button which uploads your form to the SharePoint library. This is quite easy to do. Go to Tools, DataConnections and set up a new data connection to submit data to a SharePoint library. enter the path to your library. now add a new button to your form, double click it and select edit from code. now you can write your custom code. search the forum for Application.errors.count (or something similar) to see how you can do your validation quite easily if you have to validate a large number of fields and search for DataAdapters or DataObjects to see how you can call your dataconnection to trigger from code. how you can grab the information from your controls you know already. hope this helps..&lt;/p&gt;</description></item><item><title>Re: How to Get Web Enabled Form Data upon the user submission</title><link>https://www.infopathdev.com:443/forums/thread/22834.aspx</link><pubDate>Mon, 03 Sep 2007 12:56:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22834</guid><dc:creator>sreenivas</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22834.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=22834</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;You are right.. I need to use xpathnavigator instead of thisXDocument.. My requirement is i am using WebEnabled forms, with in that i have 100 fields, whenever the user filling this form, he has to enter the data. After filling this form, whenever he clicks on save button, i need to do some validation and also need to grab the data from that form.. dont forget this is webenabled form, i think for this type of forms, i dont see any save button event handler.. so in this do i need to write any custom save button, or how can i use the existing save button event handler.. do let me know, this is very urgent...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;sreeni&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to Get Web Enabled Form Data upon the user submission</title><link>https://www.infopathdev.com:443/forums/thread/22832.aspx</link><pubDate>Mon, 03 Sep 2007 09:33:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22832</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22832.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=22832</wfw:commentRss><description>&lt;p&gt;Just a small correction Shiva. Sreenivas mentioned that he/she is using 2007 so thisXDocument won&amp;#39;t work. You have to use XPathNavigator instead. Please refer to the Object Model of 2007.&lt;/p&gt;</description></item><item><title>Re: How to Get Web Enabled Form Data upon the user submission</title><link>https://www.infopathdev.com:443/forums/thread/22831.aspx</link><pubDate>Mon, 03 Sep 2007 06:29:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22831</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22831.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=22831</wfw:commentRss><description>&lt;p&gt;Hi Sreenivas Welcome to the Forums, &lt;/p&gt;
&lt;p&gt;You can write the code in onClick event of Save button to get the information from your form. &lt;/p&gt;
&lt;p&gt;On which field data you want? If you want to get the one field data you can use below the code: &lt;/p&gt;
&lt;p&gt;IXMLDOMNode node = thisXDocument.DOM.selectSingleNode(“XPath of your node”); &lt;/p&gt;
&lt;p&gt;string nodeValue = node.text; &lt;/p&gt;
&lt;p&gt;Hope this helps you &lt;/p&gt;</description></item><item><title>How to Get Web Enabled Form Data upon the user submission</title><link>https://www.infopathdev.com:443/forums/thread/22829.aspx</link><pubDate>Mon, 03 Sep 2007 03:26:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22829</guid><dc:creator>sreenivas</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22829.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=22829</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp; I am new to Info Path 2007, I have created a web enabled form using Infopath, and published into a sharepoint site, whenever user enters the data and clicked on save button, the form is saving in FormLibrary in my sharepoint site. My question, whenever the user clicked on save button, i need to grab some information from the infopath form. How can i do this programatically using C# ? &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Or, when the form is saved in sharepoint site, that form is in .xml format, and the form data will be stored in content type (If i am wrong please do let me know),if i want to get the Form Data from the Content Type how can i ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Sree&lt;br /&gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>