I have a list of people in the household [per_hog], where for each person I select the type of relationship with the household referent (the referent is the first person to be added to the list).
The relationship [HogPar] is a single selection question and I have the age [age] as a numeric question, both inside the list.
I want to add validation rules for the following situations in relation to the referent:
1 - The age difference with your child is less than 12 years.
2 - Declares to be a grandchild of the referent but the age difference between them is less than 24 years.
3 - Declares to be a grandparent of the referent but the age difference between them is less than 24 years.
I don’t know how to indicate the age of a particular person from the relationship question. I would appreciate if you could guide me with the syntax to create the rules.
Thanks in advance