<?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: submitting infopath based on checkbox</title><link>https://www.infopathdev.com:443/forums/thread/22420.aspx</link><pubDate>Mon, 20 Aug 2007 06:13:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22420</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22420.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=22420</wfw:commentRss><description>&lt;p&gt;hi cathy, i wouldn&amp;#39;t use code to upload only the attachments to sharepoint but the complete infopath form including the attachment. i think that will be the easier way as infopath is quite easy to connect to sharepoint.&amp;nbsp;first run your data connection wizard to create a new secondary datasource&amp;nbsp;and point to your&amp;nbsp;sharepoint library. then put a rule to your button and use &amp;quot;Submit using a data connection&amp;quot; and select the connection to your sharepoint library. I think this will be a lot easier than trying to upload the attached files. to the file attachments i would set some conditional formatting to only show or hide them if the corresponding checkbox is marked. hope that helps.&lt;/p&gt;</description></item><item><title>submitting infopath based on checkbox</title><link>https://www.infopathdev.com:443/forums/thread/22414.aspx</link><pubDate>Sun, 19 Aug 2007 14:34:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22414</guid><dc:creator>cathy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22414.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=22414</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I have an infopath with some checkboxes and fileattachments for infopaths and a button. I have to write code under button control in such a way that whenever a user selects a checkbox and clicks on button, the corresponding fileattachment should be submitted to sharepoint server document library. How to submit these infopaths to sharepoint server under submit button?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>