Show All

# About the developer sample forms

The Microsoft Office InfoPath 2003 developer sample forms are a set of forms designed to demonstrate various development techniques for customizing and implementing InfoPath features. The following table lists each of the developer sample forms and the features that they illustrate.

Name | File name | Description
--- | --- | ---
Data Validation | D_VALID.XSN | Demonstrates the ways in which data can be validated in a form. Methods covered include schema-based, custom, and script-based validation.
Events | EVENTS.XSN | Demonstrates the events that can be used in a form. Events covered include form events, data validation events, and control events.
Structural Editing | CD_EDIT.XSN | Demonstrates the ways in which the source XML document of a form may be edited, and how the editing actions that are available to a user are based on context. Methods covered include field and structural editing, with examples of editing using controls and scripting code.
User Interface | UIBASICS.XSN | Demonstrates the ways in which the InfoPath user interface can be customized in a form. Methods covered include menu items, toolbars, custom task panes, and custom dialog boxes.

Using the developer sample forms

The InfoPath developer sample forms are installed on your hard disk when you install InfoPath. To access the sample forms, navigate to <drive:>\Program Files\Microsoft Office\OFFICE11\SAMPLES\INFOPATH\, and then double-click the form template file you want to use. Or from InfoPath, click Open on the File menu, navigate to the samples folder, select the form template you want to use, and click Open.

Note To see all of the files that make up a developer sample form, open the form in design mode and click Extract Form Files on the File menu. This will extract all of the form files from the form template file and save them to a specified folder on your hard disk.

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp