The Script Files

A form template may have zero or more script files. When you access the Script Editor to create a function or subroutine, a script file is added to the form template when it is next saved.

The Default Script File

If a script file is present in a form template, it is present in the form template as script.js or script.vbs. That file contains all functions or subroutines created from the InfoPath user interface.

Other Script Files

The InfoPath developer can create additional script files using a tool other than InfoPath and include them in a form template, using the InfoPath Resource Manager. For example, if a set of calculations is common to several forms your company uses, it might make sense to create functions or subroutines ...

Get Microsoft® Office InfoPath™ 2003 Kick Start 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.