-
Hi Herb Welcome to the Forums,
You probably need to remove the xsi:nil attribute. Here is the code:
IXMLDOMNode FullNameNode = thisXDocument.DOM.selectSingleNode(''//my: Full_Name'');
removeNil(FullNameNode).text = ''true'';
public IXMLDOMNode removeNil(IXMLDOMNode node)
{
//Determine whether the xsi:nil attribute is set for this
//element. ...
-
Hi Eric
You can write the below code in button onClick event
XDocument.View.SwitchView(''View Name'');
-
Hi Ren,
Follow the below steps,
1. Add “Repeating Section” with the “Title” field.
2. Add one more field “Reference” and bound to list box.
3. Select “Look up values in the form#%92s data source” option in list box.
4. Select “group2” (repeating section) from “Entries”.
5. Click on preview.
6. Which ever you added the new title you could see in ...
-
Hi Sylapse,
Another way use a custom data validation pattern.
Here's an example: ''(.+)@(\w+)(\.\w+)*\.(\w{2,6})''
-
Hi Trufooser,
Can you try below filter once.
not(. = ../preceding-sibling::d:LookUp[@Type = current()/my:Type[@Area = current()/my:Area[@RESULTS
= current()/my:RESULTS]]])
In above filter @Type, @Area, @RESULTS nodes from secondary.
-
Hi Michael,
You can write the below code in onLoad function. Whenever form loads today date is set to your date picker field.
string now = DateTime.Now.ToString(''yyyy-MM-dd'');
thisXDocument.DOM.selectSingleNode(''Date field xpath'').text = now;
-
Hi kurtd,
Use eventObj.Source.selectSingleNode(''attributename'')instead of
thisXDocument.DOM.selectSingleNode(''/dfs:myFields/dfs:dataFields/d:tblTasks/@dteDate'')
Using eventObj.Source lets you access the fields in the current row where the event has occurred.
One important point to note is that when you use eventObj.Source, you have to ...
-
Hi kurtd,
Your xpath should be like,
''/dfs:myFields/dfs:dataFields/d:tblTasks/@txtWeek''
-
Hi Michael,
If you want only numeric values in text box then you need to add a validation for that field like
1. “fieldname” is less than are equal to -65,536 or
2. “fieldname” is less than are equal to 65,535
Otherwise on validation condition you can select ‘use formula#%92 in right side drop down and set your condition depends on your ...
-
Hi Clay,
Can try once xpath is like “not(.=preceding::d:OE/@NID)”.
Before trying for above xpath you need to test first of all right side field xpath is correct or not. For this, you can try “d:OE/@NID” xpath is default value for one field and that field which is same level “d:OE” only. If you gets value then our above xpath is correct. By this ...