Hi,
the purpose of condition parameter is explained in Tips, try to put mouse cursor over the parameters to see these tips.
I am wondering though, what the purpose is of allowing the values to be compared to all other fields on the list as well
"Custom value" meets many use cases, but for advanced uses this is limited, see this example:
I have a select field called "User Type" with these options:
visitor|Visitor
student|Student
researcher|Researcher
teacher|Teacher
I have a field called "Curriculum" and I want to have this field only when "User Type" equal to "researcher" or "researcher"
WRONG CONFIGURATION
I can set these conditions on field "User Type:
- Condition 1: if equal to custom value "researcher" show field "Curriculum"
- Condition 2: if equal to custom value "teacher" show field "Curriculum"
this is wrong because conditions have 2 ways, for example if I choose "researcher" then
- Condition 1 show "Curriculum" field
- Condition 2 hide "Curriculum" field
Result: "Curriculum" field is hidden for "researcher" option (Bad for me)
BEST CONFIGURATION
I can create a hidden field type with default value like "researcher teacher", and set this condition:
- Condition 1: if contain "User Type" value show "Curriculum" field
this is correct, because if I choose "researcher" or "teacher" condition is met and I see "Curriculum" field.
ALTERNATIVE WITH CUSTOM VALUE
I can change values in the "User type" field like these
1|Visitor
2|Student
3|Researcher
4|Teacher
and set conditions like this:
- Condition 1 - if greater then custom value "2" show field "Curriculum" field
This works but you will have 2 problems:
- The stored data in DB are not explicit, you will have something like 1,2,3 or 4 instead something of more comprensive like visitor,student,....
- If you need to create another options you should have some problem
This is only one uses case, but there are infinite possibilities, some advanced customer use also our API to manipulate the custom fields, and this feature can be useful.