Overview
This rule checks if a specific fund is given then another specific gift attribute should be on the record. Even if other attributes are present then the donor designation attribute needs to be there and not be blank. What is more if the gift has no attributes this should also apply.
1 | Create the following dependency rule on the description field of the Donor Designation gift attribute: Donor Designation gift attribute is not blank.
Make sure to select that the rule should apply to all gift attribute records. This ensures that Validatrix checks all attributes to see whether or not they are the correct attribute and whether they are blank or not.
Finally check the box to say that we should apply this rule even if there are no attributes. |
| 2 | Add the criteria to say that the description value is blank. We want to show the message when the record agrees with criteria. | |
3 | Create a new rule on the gift fund field: Fund is "General" | |
4 | Add the criteria to say that the fund description is exactly General. | |
5 | Add the previously created "Donor Designation gift attribute is not blank" rule as a dependency | |
6 | Finally setup the validation actions to show a message. | |