language Attribute

Microsoft Office InfoPath

language Attribute

Defines the script language used in the business logic source files.

Type

      xsf:xdScriptLanguage
    

Remarks

The language attribute is a required attribute of the scripts element.

Allowed values include "vbscript", "jscript", and "javascript". The default value is "jscript".

Example

The following is an example of the language attribute as it is used in the scripts element:

    <xsf:scripts language="jscript" enforceScriptTimeout="no">
    <xsf:scriptsrc="internal.js" />
    <xsf:scriptsrc="script.js" />
</xsf:scripts>