I am newbie to validatethis. I want to get the form name from context. I am using below code,
<cfset application.ValidateThis = createObject("component","ValidateThis.ValidateThis").init(ValidateThisConfig) />
<cfset formName = application.ValidateThis.getFormName(Context=Form.Context) />
This gave me below error,
Type: ValidateThis.ValidateThis.ObjectTypeRequired
Details: You must pass either an object type name (via
objectType) or an actual object when calling a method on the
ValidateThis facade object.