{"extended":{"hasExtended":true,"docs":"
errorMessageOn(objectName, property [, prependText, appendText, wrapperElement, class ]) <!--- view code --->\n<cfoutput>\n #errorMessageOn(objectName="user", property="email")#\n</cfoutput>"},"hint":"Returns the error message, if one exists, on the object's property. If multiple error messages exist, the first one is returned.","returntype":"","slug":"errormessageon","parameters":[{"default":"","required":"Yes","hint":"The variable name of the object to display the error message for.","name":"objectName","type":"string"},{"default":"","required":"Yes","hint":"The name of the property to display the error message for.","name":"property","type":"string"},{"default":"","required":"No","hint":"String to prepend to the error message.","name":"prependText","type":"string"},{"default":"","required":"No","hint":"String to append to the error message.","name":"appendText","type":"string"},{"default":"span","required":"No","hint":"HTML element to wrap the error message in.","name":"wrapperElement","type":"string"},{"default":"errorMessage","required":"No","hint":"CSS class to set on the wrapper element.","name":"class","type":"string"}],"name":"errorMessageOn","availableIn":{},"tags":{"categoryClass":"","sectionClass":"","category":"","section":""}}