I have a data class with an activity that does validation on a property of a class of the class by mapping that property to a validate rule in a step of the activity on the Property-Validate method. I have a section that has a control mapped to that propery. When I tab through the section and violate the rule I get the error message that was specified on the rule ("Enter a valid xyz"). When I post the form, the validation runs, but the error message is in the form "Invalid value specified for <property-name>. Value doesn't adhere to the validate: <validate-rule>. So it seems the post processing knows to call the validate, but doesn't have access to the error message specified on the rule. Can anyone shed light on to what's going on and how I might get post to display the right error message?
Thanks in advance!
Share this page
Moderation Team has archived post,
This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.
Posted: 6 years ago
Posted: 18 Nov 2015 11:51 EST
Sunny Mahato (SunnyMahato)
Principal Solutions Consultant