Hi
I have an optional (minOccurs="0"), required (nillable="false") element
bounded to a field. In addition this field is only visible, if another field
have a certain value.
If the field is not assigned a value or not visible I don't want it to
appear in the resulting XML.
How on earth do one do that in InfoPath 2003??
Any help much appreciated.
Greg Collins - 29 Jan 2008 00:47 GMT
You can use Tools | Default Values to specify that the field not appear in
the INITIAL xml document. However, you will need to write code to insert the
node as needed.
Or, you can write code to remove the field before save or submit.
Either way, code will be required.

Signature
Greg Collins
Microsoft MVP
Visit Braintrove at http://www.braintrove.com
Visit InfoPathDev at http://www.infopathdev.com