-
Hello,
We do not have option to change the font color through the code. For this you have add two fields in your form and add conditional formatting for those fields. Based on your requirement you can add the conditional formatting for normal text box and blue colored text box.
-
Hello,
Here is the code you have to write in your onClick Event,
IXMLDOMDocument2 sampleDataDom = (IXMLDOMDocument2)thisXDocument.CreateDOM();
sampleDataDom.async = false;
sampleDataDom.validateOnParse = false;
sampleDataDom.setProperty("SelectionNamespaces", "namespace of your ...
-
Hello Feesh,
Here are the steps you need to follow,
1. First add the image(hat_picture.jpg ) to the form using Tools -> Resource Files.
2. Save the form and close it.
3. Open the view1.xsl file in editor mode, search for ‘4CB851E9.jpg' replace with ‘hat_picture.jpg' and save the file and close it.
4. Open the manifest.xsf file in ...
-
Hello,
Here is the code you have to write in your onLaod function,
IXMLDOMDocument2 sampleDataDom = (IXMLDOMDocument2)thisXDocument.CreateDOM();
sampleDataDom.async = false;
sampleDataDom.validateOnParse = false;
sampleDataDom.setProperty("SelectionNamespaces", "namespace of your ...
-
Hello,
We can change the font size from ‘pt' to ‘em' in directly view1.xsl file. Open your view1.xsl file in editor mode and change from FONT-SIZE: 10pt; to FONT-SIZE: 2em; and save the file open InfoPath in design mode.
Be sure to backup version of the template in case something goes wrong while changing in view1.xsl
-
Hello,
We can't do the directly assigning the view name as field contains value in InfoPath. While creating the view we have to give the view name and if we want to change the view name then we have to modify it in design mode only.
We can shift the view based on field value using code.
XDocument.View.SwitchView("View Name");
In ...
-
Hello Feesh,
Check out this link,
http://support.microsoft.com/kb/892730
-
Hello,
Here is the two ways:
1. You can restrict to enter the data in Second control If user doesn't not have data in first control.
2. If user entered in second control first and after that user enters the data in first control then we can enable the validation using code. In first control on after change event we can get the second ...
-
Hello,
InfoPath templates are an integral part of each xml document created and provide the information on how to display the data and how the user will interact with it.
In each XML document is a link to the template it was created from. Each time a document is opened it must access the template.
That is why templates are published to network ...
-
Hello,
If you close all opened forms which are created from old version and clear the InfoPath cache in your system then you will not get that message