Trigger Reference of GS2-Formation Script

updateMold

Event trigger to call GS2-Script before capacity update.

Request

TypeDescription
namespaceNamespaceNamespace
moldMoldSaved forms

Result

TypeRequireDefaultLimitationDescription
permitboolAllow capacity update

Implementation Example

namespace = args.namespace
mold = args.mold

result = {
  permit=permit
}

updateMoldDone

GS2-Script called after capacity update.

Request

TypeDescription
namespaceNamespaceNamespace
moldMoldSaved forms

Result

TypeRequireDefaultLimitationDescription

Implementation Example

namespace = args.namespace
mold = args.mold

result = {
}

updateForm

Event trigger to call GS2-Script before form update.

Request

TypeDescription
namespaceNamespaceNamespace
moldMoldSaved Forms
formFormForm

Result

TypeRequireDefaultLimitationDescription
permitboolAllow form update

Implementation Example

namespace = args.namespace
mold = args.mold
form = args.form

result = {
  permit=permit
}

updateFormDone

GS2-Script called after form update.

Request

TypeDescription
namespaceNamespaceNamespace
moldMoldSaved Forms
formFormForm

Result

TypeRequireDefaultLimitationDescription

Implementation Example

namespace = args.namespace
mold = args.mold
form = args.form

result = {
}