Hello @asjad492
Ok, your problem is different. You want to create rules dependent on multiple fields. To configure complex dependency rules, you must use an auxiliary calculated field.
I’ll try to describe the process with a hypothetical example.
Assuming you have two dropdown fields, fieldname1 and fieldname2.
The choices of the fieldname1 field are A and B.
The choices of the fieldname2 field are C and D.
Now, assuming you have three other fields, fieldname3, fieldname4, and fieldname5, and you want to active the fieldname3 field if the user selects the choice A, the fieldname4, if the user selects the choice B, and the fieldname5 if the user selects the choices A, and C for fields fieldname1 and fieledname2.
Insert a calculated field in the form (you can configure as hidden by ticking a checkbox in its settings), and enter the equation:
(function(){
IGNOREFIELD(fieldname3|n);
IGNOREFIELD(fieldname4|n);
IGNOREFIELD(fieldname5|n);
if(AND(fieldname1 == 'A', fieldname1 == 'C')){
ACTIVATEFIELD(fieldname5|n);
} else if(AND(fieldname1 == 'A')){
ACTIVATEFIELD(fieldname3|n);
} else if(AND(fieldname1 == 'B')){
ACTIVATEFIELD(fieldname4|n);
}
})()
Best regards.
-
This reply was modified 2 years, 2 months ago by
codepeople.