Extreme newbie question on clear button - InfoPath Dev Sign in | Join | Help in Code InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Code » Extreme newbie question on clear button Extreme newbie question on clear button Last post 01-18-2007 10:49 PM by Shilpa Pitta. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 01-18-2007 07:07 AM kurto Joined on 01-18-2007 Posts 1 Extreme newbie question on clear button Reply Contact Using InfoPath 2003 and have a simple form with a few text boxes.I have created a button thats action is 'rules and custom code'On click I want it to clear a textbox. I have set up the form to use vbscript. How do I reference this textbox while editing form code? 01-18-2007 10:49 PM In reply to Shilpa Pitta Joined on 06-05-2006 India Posts 101 Re: Extreme newbie question on clear button Mark as Not AnswerMark as Answer... Reply Contact Hi Kurto and welcome to the infopath forums,XDocument.DOM.selectSingleNode("/my:myFields/my:field1").text = ""Here reference the text box with its field name, below i mentioned it as field1 Hope this helps you! Shilpa INFOPATHDEV India Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.