src Attribute

Microsoft Office InfoPath

Show All Show All

src Attribute

Provides a relative URL within the form template to the specified script source file.

Type

      xsf:xdFileName
    

Remarks

The src attribute is a required attribute of the script element.

Example

The following is an example of the src attribute as it is used in the script element:

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