Extensions/Authoring/essayMaxLength

Extensions add specific functionality to Learnosity APIs. They rely on modules within LT being available.

--

Adds custom validation to ensure that only numbers are added to the max_length field for the listed types.

The extension will strip any invalid characters. Eg:

10.5

Will be changed to:

10

If the value contains leading zeros, the input field will be styled with a red border.

Example
LT.init(authorApp, {
    extensions: ['essayMaxLength'],
});