GetFormsByTag

GetFormsByTag(tag) → { Array.<ContentControl> }

Returns information about all the forms that have been added to the document with specified tag.

Parameters:

Name Type Description
tag string

The form tag.

Returns:

Type
Array.<ContentControl>

Example

Copy code
window.Asc.plugin.executeMethod ("GetFormsByTag", ["{tag}"], function (data) {
    for (var i = 0; i < data.length; i++) {
        if (data[i].InternalId == "5_556") {
            this.Asc.plugin.executeMethod ("SelectContentControl", [data[i].InternalId]);
            break;
        }
    }
});