-
Browser compatible forms should be able to use Form Open rules.
-
Did you remove the line to make the node blank? It has to be blank before you add the nil attribute.
-
I see. Thank you for that.
From the way your data source is structured, I believe that the only way to accomplish what you want would be to manually edit the XSL, and even then, the controls inside that manually created section would be read-only.
Is there any reason why you can't have Deficiency as a child group of ...
-
TOTAL_LENGTH_1MM.SetValue(string.Empty);
TOTAL_LENGTH_1MM.CreateAttribute("xsi", "nil", System.Xml.Schema.XmlSchema.InstanceNamespace, "true");
Edit: Changed LookupNamespace() function to constant reference - same behavior but this is a better practice.
-
Well, the screenshot of your form's layout in relation to the data source doesn't seem to make sense to me at the moment, and the formula you posted seems to have no relation to the field you have highlighted in the screenshot.
Can you attach a stripped-down version of your form to this thread so that one might inspect it and ...
-
The problem appears to be that you are using absolute instead of relative paths in your expressions. Try using
my:_Area_
instead of
/Data Source Name/my:OptGroup_Violation/my:Violation/my:_Area_
-
The same way you would in any other Visual Studio project. Just add it to your main code file, or create a separate code file and add it there.
-
To what kind of functions are you referring? Can you describe an example?
-
You should refrain from making your form Full Trust unless you absolutely have to. Is your form using code to query a database? If possible, you should be using InfoPath's built-in Data Connection features to perform your queries.
-
You could just use the Default Values... dialog box provided under the Tools menu in the InfoPath designer.