-
Hi KarenSL,
i dont think there is any way possible to do this, other than going on each and every control and applying conditional formatting on it. I would love to hear, if somebody has a solution for this
-
-
hi Matt,
you need to have two secondary data connections submitting to two different libararies, and on submit button, use rules to submit to both the connections.
-
Thanks, Jimmy. This should work fine in InfoPath 2007 and I will let you know, once I have tested it. Would you happen know what the equivalent C# code would be, using the InfoPath 2003 object model (i.e. thisXDocument)? I am having some difficulty figuring this out.
-
The equivalent C# code for that VB.NET code should be the following:XPathNavigator xMain = MainDataSource.CreateNavigator();
XPathNavigator clientTitlePath;
clientTitlePath = xMain.SelectSingleNode("/FormData/ClientInfo/ClientTitle", NamespaceManager);
if(clientTitlePath == null)
{
...
-
Sure thing...samples in JScript and VB.NET included below.
JScript (taken from http://msdn.microsoft.com/en-us/library/aa662354%28office.11%29.aspx):function XDocument::OnVersionUpgrade(eventObj)
{
if (!XDocument.DOM.selectSingleNode("/Customers/CustomerInfo/EmailAddress"))
{
try
{
// Create the ...
-
Would you mind letting us in on the working code samples you've found? Maybe someone here would be able to adapt it to C#.
-
Hello all,
I have a client using an InfoPath 2003 managed code solution (C#). Recently, we needed to make a change to the XML schema serving as the Main data source. Specifically, we changed a single tag's name from <Title/> to <ClientTitle/>. This change needs to be pushed out to their Production environment ...
-
Thanks! Had to dig back to 2005 eh? Well I don't feel so bad :)
-
http://www.infopathdev.com/blogs/greg/archive/2005/07/06/Create-a-Cascading-List-from-a-Flat-Data-Source.aspx
http://www.infopathdev.com/blogs/greg/archive/2005/07/06/Create-a-Cascading-List-from-a-Hierarchical-Data-Source.aspx