<?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 refresh form on clear button click?</title><link>https://www.infopathdev.com:443/forums/thread/88073.aspx</link><pubDate>Fri, 15 Mar 2013 21:04:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88073</guid><dc:creator>mrsneely77</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88073.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=88073</wfw:commentRss><description>&lt;p&gt;I am using InfoPath 2010 and my button properties doesn&amp;#39;t have a&amp;nbsp;New Form selection or&amp;nbsp;anything like that. How is it that your version does?&lt;/p&gt;</description></item><item><title>Re: How to refresh form on clear button click?</title><link>https://www.infopathdev.com:443/forums/thread/55389.aspx</link><pubDate>Thu, 27 May 2010 18:17:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55389</guid><dc:creator>Joemanc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55389.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=55389</wfw:commentRss><description>&lt;blockquote&gt;
&lt;p&gt;This link did it for me:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://www.bizsupportonline.net/blog/2009/08/clear-reset-fields-infopath-3-lines-code/"&gt;http://www.bizsupportonline.net/blog/2009/08/clear-reset-fields-infopath-3-lines-code/&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: How to refresh form on clear button click?</title><link>https://www.infopathdev.com:443/forums/thread/43716.aspx</link><pubDate>Thu, 02 Jul 2009 07:11:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43716</guid><dc:creator>veeragoni</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43716.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=43716</wfw:commentRss><description>does your form uses database connection string? make sure your main dataset allows to submit the form.
check this link http://office.microsoft.com/en-us/help/HA011199501033.aspx
the action is created when you drag and drop the record set.

try to drag a data set as table/detail view any other view...and then try looking the drop down again (you can delete the unnecessary table/detail view later)</description></item><item><title>Re: How to refresh form on clear button click?</title><link>https://www.infopathdev.com:443/forums/thread/43715.aspx</link><pubDate>Thu, 02 Jul 2009 07:09:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43715</guid><dc:creator>Harish Mathanan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43715.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=43715</wfw:commentRss><description>&lt;p&gt;Found the answer to my question, &amp;quot;If the form is connected to a database or Web service, this action clears the values on the form so that a user can enter new data.&amp;quot;&lt;/p&gt;
&lt;p&gt;Source: &lt;a href="http://office.microsoft.com/en-us/infopath/HA100964011033.aspx"&gt;http://office.microsoft.com/en-us/infopath/HA100964011033.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: How to refresh form on clear button click?</title><link>https://www.infopathdev.com:443/forums/thread/43714.aspx</link><pubDate>Thu, 02 Jul 2009 07:02:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43714</guid><dc:creator>Harish Mathanan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43714.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=43714</wfw:commentRss><description>&lt;p&gt;Strange, but I don&amp;#39;t find the &amp;quot;New Record&amp;quot; option from the button properties. &lt;/p&gt;
&lt;p&gt;InfoPath Version: 2007 SP2 MSO&lt;/p&gt;</description></item><item><title>Re: How to refresh form on clear button click?</title><link>https://www.infopathdev.com:443/forums/thread/43359.aspx</link><pubDate>Tue, 23 Jun 2009 14:46:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43359</guid><dc:creator>blue_psychedelic</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43359.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=43359</wfw:commentRss><description>&lt;p&gt;I am trying to do something similar. I can&amp;#39;t seem to find this option under my buttons though; I have a data connection to a web service from the infopath form.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to refresh form on clear button click?</title><link>https://www.infopathdev.com:443/forums/thread/42413.aspx</link><pubDate>Tue, 02 Jun 2009 22:08:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42413</guid><dc:creator>veeragoni</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42413.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=42413</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You can use &amp;quot;New Record&amp;quot; option available in the button properties, which is basically resets all fields and ready to enter new record.&lt;/p&gt;&lt;p&gt;Check the attached image &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to refresh form on clear button click?</title><link>https://www.infopathdev.com:443/forums/thread/39919.aspx</link><pubDate>Tue, 24 Mar 2009 16:58:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39919</guid><dc:creator>cjg1979</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39919.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=39919</wfw:commentRss><description>Perfect!&amp;nbsp; Exactly what i was looking for.&amp;nbsp; I did make one modification, and that was that I closed the existing form, not asking to save changes before opening the new form.&amp;nbsp; That way they don&amp;#39;t end up with hundreds (in theory) of forms open, but only one at all times, either the one they are working on, or the new one they are submitting.&amp;nbsp; The idea is that they will submit via email before they clear.&lt;br /&gt;</description></item><item><title>Re: How to refresh form on clear button click?</title><link>https://www.infopathdev.com:443/forums/thread/35535.aspx</link><pubDate>Tue, 09 Dec 2008 09:32:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35535</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35535.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=35535</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Add a Group in the main data source and move all the fields in to that group (ex: group5). After that place the following code in the clear button click event.&lt;/p&gt;
&lt;p&gt;[InfoPathEventHandler(MatchPath = &amp;quot;CTRL15_5&amp;quot;, EventType = InfoPathEventType.OnClick)]&lt;/p&gt;
&lt;p&gt;public void CTRL15_5_OnClick(DocActionEvent e)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;IXMLDOMNode groupNode = thisXDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:group5&amp;quot;);&lt;/p&gt;
&lt;p&gt;IXMLDOMDocument2 sampleDataDom = (IXMLDOMDocument2)thisXDocument.CreateDOM();&lt;/p&gt;
&lt;p&gt;sampleDataDom.setProperty(&amp;quot;SelectionNamespaces&amp;quot;, &amp;quot;&amp;lt;write your form name space&amp;gt;&amp;quot;);&lt;/p&gt;
&lt;p&gt;sampleDataDom.load(&amp;quot;sampledata.xml&amp;quot;);&lt;/p&gt;
&lt;p&gt;IXMLDOMNode sampleGroupNode = sampleDataDom.selectSingleNode(&amp;quot;/my:myFields/my:group5&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;IXMLDOMNode groupParentNode = thisXDocument.DOM.selectSingleNode(&amp;quot;/my:myFields&amp;quot;);&lt;/p&gt;
&lt;p&gt;groupParentNode.replaceChild(sampleGroupNode, groupNode);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here group5 -&amp;gt; is the group under which the controls are placed.&lt;/p&gt;
&lt;p&gt;myFields -&amp;gt; parent node of group5&lt;/p&gt;</description></item><item><title>Re: How to refresh form on clear button click?</title><link>https://www.infopathdev.com:443/forums/thread/35532.aspx</link><pubDate>Tue, 09 Dec 2008 09:02:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35532</guid><dc:creator>Pundya</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35532.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=35532</wfw:commentRss><description>&lt;p&gt;How can we select that group programatically. what property does this?&lt;/p&gt;</description></item><item><title>Re: How to refresh form on clear button click?</title><link>https://www.infopathdev.com:443/forums/thread/35531.aspx</link><pubDate>Tue, 09 Dec 2008 08:53:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35531</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35531.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=35531</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We can do this with code. Place all the controls in a group. In the button click event, replace that group node with the node which is taken from Sample data.&lt;/p&gt;</description></item><item><title>Re: How to refresh form on clear button click?</title><link>https://www.infopathdev.com:443/forums/thread/35528.aspx</link><pubDate>Tue, 09 Dec 2008 08:14:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35528</guid><dc:creator>Pundya</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35528.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=35528</wfw:commentRss><description>&lt;p&gt;Hi please post some thing&lt;/p&gt;</description></item><item><title>Re: How to refresh form on clear button click?</title><link>https://www.infopathdev.com:443/forums/thread/35479.aspx</link><pubDate>Mon, 08 Dec 2008 14:16:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35479</guid><dc:creator>Pundya</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35479.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=35479</wfw:commentRss><description>&lt;p&gt;Hi Frederik Van Lierde&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It gives error when we uses validation in that form. and it cannot work after two itterations.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks and regrds,&lt;/p&gt;
&lt;p&gt;Pundya.&lt;/p&gt;</description></item><item><title>Re: How to refresh form on clear button click?</title><link>https://www.infopathdev.com:443/forums/thread/35475.aspx</link><pubDate>Mon, 08 Dec 2008 13:52:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35475</guid><dc:creator>Frederik Van Lierde</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35475.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=35475</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Add a button to your Form, called it Clear&lt;br /&gt;Add a rule to the button&lt;br /&gt;Select one action: Open a new form to fill in + the Form Template ID or location&lt;/p&gt;
&lt;p&gt;Frederik Van Lierde&lt;/p&gt;</description></item><item><title>How to refresh form on clear button click?</title><link>https://www.infopathdev.com:443/forums/thread/35466.aspx</link><pubDate>Mon, 08 Dec 2008 13:10:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35466</guid><dc:creator>Pundya</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35466.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=35466</wfw:commentRss><description>&lt;p&gt;I want to clear all controls in clear button click. We can set a rule for each control but i have near about 300 controls. Is there any method to do this easily?&lt;/p&gt;</description></item></channel></rss>