< Day Day Up > |
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 FileIf 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 FilesThe 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 that encompass the relevant functionality and call those well- tested and (for your company) standard business rules, rather than have to write and test them from scratch each time.
|
< Day Day Up > |