Removing Unused Fields from New Forms

Forms based on schemas that have many optional sections, fields, or both create data documents with empty element values for these fields. The sample InfoPath forms provide examples of schemas that generate data documents with mostly empty elements. If your form doesn’t have sections or controls bound to optional elements, you can use InfoPath’s Edit Default Values dialog box to reduce the size of the XML data document substantially. Modifications you make in this dialog box don’t affect the schema; changes affect only the template’s template.xml file, which InfoPath uses as the starting point for new forms. The sample.xml file doesn’t reflect the modifications.

You open the Edit Default Values dialog box ...

Get Introducing Microsoft® Office InfoPath™ 2003 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.