-
Hm, Ok. Sorry to insult your intelligence :)
It seems like your CSS file is not in correct syntax. Could you paste it here so we can take a look? It's interesting that you created it with VS2003, and it's using an invalid character in one of the names. Maybe you are using a reserved keyword that's only reserved in InfoPath's context?
-
My suggestion here would be to create an XML file that has all of the nodes as blank and then add this as a secondary data source. When you want to clear all of the fields simply select the root node of the 2DS and the parent of the root node in the main dom and do parent.replaceChild( newChild, oldChild ).
I hope this helps, there is a little ...
-
I just noticed that we have reached 10,000 posts on the forum! Congratulations to everyone, it's very exciting to see so much participation! Let's keep it up!
-
I have been noticing some performance issues with the site and was just wondering if anyone else out there has been seeing anything similiar? When I click to reply to a post it seems like the button doesn' always work so I have to stop the loading, click refresh, paste my reply, and then click Submit again. A few minutes ago it took 1.5 minutes ...
-
Is the CostCodeDropDown a DB connection? I know I have had trouble in the past with the DB putting an extra whitespace character at the end of a column and making that fail string comparison. To solve this, I used the normalize-space() method.
I hope this helps, it sounds like a frustrating bug!
-
Hi Glebur,
Sorry for the late response. Please check out this HowTo:http://www.infopathdev.com/howto/tutorials/default.aspx?i=a396459320204261ad2379381824683d
I think the crucial step you're missing is adding the file as a resource.
-
Hi Dev and welcome to the forum!
Unfortunately, the only way I know of to sort things in InfoPath is via code. There is a sample InfoPath form that has this code in it and it is very easy to adapt to your own solution. If you're looking for a C#.NET example, I can provide that.
Anyway, I don't know which solution it is, but I'll ask the team and ...
-
Hi DotMond and welcome to the forum!
Depending on what language you're using the main DOM can be accessed like this:
JScript:
XDocument.DOM.selectSingleNode( ''Insert_XPath'' );
C#
thisXDocument.DOM.selectSingleNode( ''Insert_XPath'' );
(Sorry, I don't know VB or VBScript)
-
Awesome I glad you got it to work! The only suggestion I was going to add to avoid the ''too many calls to OnAfterChange'' was to add a global boolean variable that is set to true on the first OnAfterChange, and the blocks future calls, details can be found ...
-
You might try calling XDocument.Errors.DeleteAll(); in the OnSaveRequest event handler.