This project is read-only.

Business Validation.

Topics: General
Dec 17, 2013 at 5:36 PM
As we all know, an instance (Content Item) is created based on a "Content Type". Each "Content Type" is composed of different "Content Part". Since each of my part has no relation to other (eg: Address), how would one implement business validation as a whole?

Scenario: Creating a Registration Content Type, that consist of
PersonPart, AddressPart. PersonPart does not know about AddressPart and vice-versa.

Sample Business Rule for argument Sake:
When i click submit, I have a business rule that indicate "If this person's age > x" then "AddressPart" of this postalcode is accetable.

I want to implement this the "Orchard Way". Please advice.