!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","../../Validation","./FormElementMap"],e)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("../../Validation"),m=e("./FormElementMap"),e=(o.prototype.execute=function(e,t){var o=e.error,r=e.elementName,n=e.form;"object"==typeof r&&(n=m.getFormForElement(r)),i.validation.exists("form",n);e=i.validation.boolean("markdown",e.markdown,!0),r=n.actor.getElementName(r,n.event);return n.actor.setElementError(r,o,e),{}},o.action="gcx:wf:forms::SetFormElementError",o.suite="gcx:wf:builtin",o);function o(){}t.SetFormElementError=e});