Search - InfoPath Dev Sign in | Join | Help 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 Search More Search Options Page 2 of 2 (17 items) < Previous 1 2 Rolling back the InfoPath form changes from document liabrary Hi, Using InfoPath I save the data to database. In case of any non InfoPath exception (while inserting/editing data), is there any way where in I can roll back the InfoPath form changes to Document Library? In existing scenario when there is any exception (non InfoPath exception) the form data gets committed ... Posted to Data Connections (Forum) by mehtavipulk on 06-11-2008 Creating object of a button control Hi, I have a requirement where in I wanted to change the label of a button control on the fly. In that regards using VSTA / InfoPath code behind class, can we create an object of button control? If yes how can we achive this? Regards, Vipul Mehta Posted to Controls (Forum) by mehtavipulk on 06-11-2008 Disallowing user to enter special charecters Hi, On my InfoPath form I have a Phone Number field. The business requirement is that the user should only be allowed to enter numbers, -, (, ) (i.e. user should only allowed to enter numbers, hyphen, opening bracket & closing bracket). In general how do I prompt user when user enters special charecters which we do not want them to ... Posted to General (Forum) by mehtavipulk on 06-11-2008 Re: Error while hiding a section control CTRL82 is the ViewContext name (if you right click the Optional section control -> Advanced tab) OptionalEULAGroup is the name of the field / group name group1_154 is the value of XmlToEdit For XOptional field (if you right click the Optional section control -> Advanced tab) Posted to Code (Forum) by mehtavipulk on 06-10-2008 Re: Error while hiding a section control I use below code XPathNavigator node = MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:OptionalEULAGroup", NamespaceManager); CurrentView.SelectNodes(node, node, "CTRL82"); CurrentView.ExecuteAction(ActionType.XOptionalRemove, "group1_154"); My requirement is to hide this section on Edit ... Posted to Code (Forum) by mehtavipulk on 06-06-2008 Error while hiding a section control Hi, I have an section control on my page & I need hide id based on some condition. I have implemented below code for hiding section control CurrentView.ExecuteAction(ActionType.XOptionalRemove, "EULA"); But while executing that I get the followign error. The fieldname of the section is ... Posted to Code (Forum) by mehtavipulk on 06-06-2008 Filling a dropdown list in Info Path form Hi, How do I fill a drop down list in InfoPath form either using the InfoPath object model (i.e. programatically) OR using InfoPath design form? Does any body have sample code for this? Posted to Data Connections (Forum) by mehtavipulk on 05-27-2008 Page 2 of 2 (17 items) < Previous 1 2 Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.