-
Hi,
e.Parent Gets a reference to the XML Document Object Model (DOM) node of the parent of the XML DOM node being changed during a data validation event
e.Site.parentNode gets the reference of the parent of the node for which the event is fired.
-
Hi,
Use he following expression to validate the text box to fulfill your requirement.
not(xdUtil:Match(string(.), "\d*")) and not(xdUtil:Match(string(.), "\d*\.25")) and not(xdUtil:Match(string(.), "\d*\.0")) and not(xdUtil:Match(string(.), "\d*\.00")) and not(xdUtil:Match(string(.), "\d*\.5")) ...
-
Hi,
Once try this. Add your site to trusted sites using the following steps.
1. Go to Browser.
2. Go tools-> Internet options.
3. Go to Security tab -> Trusted sites.
4. Click Sites button. There add your site address and click close then ok.
-
Hi,
Use the following code lines in the func field on after change event.
if (e.Operation != "Insert")
{
e.Parent.selectSingleNode("@my:modified").text = "<value to be stored in modified field>";
}
-
Hi,
After modifying the template.xsn, save it and publish it again.
-
Hi,
Before saving the form get the view name by using the following code line.
thisXDocument.View.Name
and store this value in a field.
When you open the form use this value to open the view using the above post code.
-
Hi,If you are using the data base fields as the main connection then you cannot add the fields in the form. If you want to add any fields then you need to add that fields in the data source xsd file. Note: Take a back up of the form while doing these changes.Another way is place the expression boxes and put the values you want in those and print ...
-
Hi,
No need of VS to open the schema file. You can open that in any text editor (ex: Notepad).
-
Hi,
To my knowledge, we cannot disable the X button on the upper right corner of the InfoPath window. When you close the form _Shutdown() which is added by default when you use the form with code will be called.
-
Hi,
Are you getting any error? Don't write any attachment file name. Try the following code.
function Email(dataAdapterName, to, CC, subject, intro)
{
try
{
var objEmailAdapter;
objEmailAdapter = ...