script Element

Microsoft Office InfoPath

Show All Show All

script Element

Defines the source scripting file containing all the data-level script content referenced in the form.

Type

      xsd:complexType
    

Structure

Name Description
src (Required attribute) Provides a relative URL within the form template to the specified script source file.

Remarks

The script element is an optional element of the scripts element.

Example

The following is an example of the script element:

    <xsf:scripts language="jscript">
   <xsf:script src="myscripts.js"/>
</xsf:scripts>