Constraint if-statement

i want some help
i have a form that contains
1-family member role
2-member age
3-member marital status

i want to make the following constraint : if the member role is either ('Son'/'Daughter')
and the member age is less than 14 ,the enumerator couldn't choose anything but single in the member martial status list
test2.xlsx (29.6 KB)
other than this condition you're free to choose whatever marital status that you want

Hi @Abood_Jayyousi
Something like this should work:
(${Family_Member_Role}!=’Son’ and ${Family_Member_Role}!=’Daughter’) or (${member_age}>14 or .=’Single’)
test2.xlsx (10.5 KB)