<?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: Hiding the submit button</title><link>https://www.infopathdev.com:443/forums/thread/3988.aspx</link><pubDate>Fri, 09 Feb 2007 20:31:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3988</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3988.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3988</wfw:commentRss><description>There is a property to check: thisXDocument.IsNew</description></item><item><title>Hiding the submit button</title><link>https://www.infopathdev.com:443/forums/thread/1844.aspx</link><pubDate>Fri, 09 Feb 2007 15:23:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1844</guid><dc:creator>GregB</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1844.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1844</wfw:commentRss><description>I use a submit button to submit a new form to a sharepoint library.  However, when the form is subsequently accessed (for updates), I want to disable or hide the submit button... the user needs to click Save, instead.&lt;br /&gt;&lt;br /&gt;During form opening, how do I recognize that the user is editing an existing document vs creating a new document in order to disable or hide the submit button?  &lt;br /&gt;&lt;br /&gt;Thanks, &lt;br /&gt;Greg</description></item></channel></rss>