<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Extreme newbie question on clear button</title><link>https://www.infopathdev.com:443/forums/thread/15023.aspx</link><pubDate>Fri, 19 Jan 2007 06:49:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15023</guid><dc:creator>Shilpa Pitta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15023.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15023</wfw:commentRss><description>Hi Kurto and welcome to the infopath forums,&lt;br /&gt;&lt;br /&gt;XDocument.DOM.selectSingleNode("/my:myFields/my:field1").text = ""&lt;br /&gt;Here reference the text box with its field name, below i mentioned it as field1 &lt;br /&gt;&lt;br /&gt;Hope this helps you!</description></item><item><title>Extreme newbie question on clear button</title><link>https://www.infopathdev.com:443/forums/thread/13032.aspx</link><pubDate>Thu, 18 Jan 2007 15:07:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13032</guid><dc:creator>kurto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13032.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13032</wfw:commentRss><description>Using InfoPath 2003 and have a simple form with a few text boxes.&lt;br /&gt;I have created a button thats action is 'rules and custom code'&lt;br /&gt;&lt;br /&gt;On click I want it to clear a textbox.  I have set up the form to use vbscript.  &lt;br /&gt;&lt;br /&gt;How do I reference this textbox while editing form code?</description></item></channel></rss>