-
Are you sure that the space is actually being removed? If I type a value with spaces at the beginning in an InfoPath field and submit it to a web service, the spaces at the beginning of the value disappear in the form's text box, but they are still transmitted to the web service.
If you have verified that the spaces actually are ...
-
This should be the equivalent of the JScript code you posted. Only a few differences here and there: if (thisXDocument.DOM.selectSingleNode("/Customers/CustomerInfo/EmailAddress") == null)
...
-
Could you attach your form again in its current state?
-
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)
{
...
-
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#.
-
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
-
In your formula, you're matching rowValue against Alpha and colValue against Beta, but actually rowValue corresponds to Beta and colValue corresponds to Alpha.
This formula should work: xdXDocument:GetDOM("SearchMatrix")/data/dataRow[@rowValue = current()/../my:Beta]/dataCell[@colValue = current()/../my:Alpha]
-
Nice attempt. Please see if this formula works: xdXDocument:GetDOM("SearchMatrix")/data/dataRow[@rowValue = current()/../my:Alpha]/dataCell[@colValue = current()/../my:Beta] If that doesn't work, could you tell me where you are using this formula (in a default value, rule, etc.) and attach a screenshot of your ...
-
Could it be that you are trying to use GetColumnsXMLQuery instead of GetColumnsXMLStrQuery?
-
Could you attach a screenshot for the properties if your my:ClientName dropdown box? You should have it set up so that the name is the Display Value and the Client Id is the Actual Value. You can test whether it is working that way by displaying my:ClientName separately in a text box or expression box and checking whether it actually ...