-
We dont have real good way of limiting a text box size with paragraph breaks on.
But we can let user know that they have entered text more than they are supposed to.
This can be done through data validation, by checking the length of the string using ''string-length()'' function provided by infopath.
Agni
InfoPathDev India
-
You should remove ''oParentNode.appendChild(domXMLNode.documentElement)'' before for loop and have the below line in the for loop
oParentNode.appendChild(domXMLNode.documentElement.cloneNode(true))
this will insert the nodes as you loop through the code.
Hope this helps!
Agni
InfoPathDev India
-
Come on Jason its so somple you need make out all these, Its plain logic.
You have inserted just one row with the help of my code, you need to write that in the for loop to insert the total number of nodes required.
Agni
InfoPathDev India
-
Hey now our previous code should work
With thisXDocument.DOM
.selectSingleNode(''/my:myFields/my:ContactDetails['' & i + 1 & '']/my:CIFNumber'').text = ''CIFNumber''
.selectSingleNode(''/my:myFields/my:ContactDetails['' & i + 1 & '']/my:FirstName'').text = ''FirstName''
.selectSingleNode(''/my:myFields/my:ContactDetails['' & i + 1 & ...
-
sorry it should have been
strFields = ''<my:ContactDetails xmlns:my=\''http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-04-29T04:21:12\''><my:CIFNumber/><my:FirstName/><my:LastName/><my:SSN/><my:CRM/></my:ContactDetails>''
Agni
InfoPathDev India
-
Yes you can change the date format. For that
1. Double click on the datapicker control
2. Click on format Button.
3. Select ''Locale'' to be English(United Kingdom).
4. Select the format you want.
Hope this Helps!
Agni
InfoPathDev India
-
Sorry Jason it was my mistake,
there should be reference to the ''my'' namespace in the ''xml string''. For that please open your xml schema and check for ''my'' namespace and add it to the string
for example:-
strFields = ''<my:ContactDetails ...
-
Its compulsory to have ''Microsoft .NET Framework 1.1'' installed on machines that are used to open InfoPath forms that have C# or VB.NET code in it.
Even if you open a form from a published location, you should have ''Microsoft .NET Framework 1.1'', because code has to get executed at the client machine itself.
Tip: Install .Net Framework ...
-
Hi Ryan,
You have specified an xpath to look for in the filter, but you did not specify from which Dom you want the data to be picked up.
So I think your xpath should be,
xdXDocument:GetDOM(''Component Images'')/dfs:myFields/dfs:dataFields/dfs:Component_Images[@Version =
xdXDocument:get-DOM()/my:myFields/my:version and @Component = ...
-
Hi,
There is an option in the (Tools->Form Options->Security) dialog to select a certificate. Check out if that helps!
I am not sure but even the link below can be helpful for you in future about Digital certificates.http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_tr/html/odc_INF_Lab_10.asp
Agni
InfoPathDev India