Ref or Valid If for Dropdown

Hello! Hope everyone is fine.

Dropdown can be done by using Ref and using Valid If. Valid If also can be used to filter data, so far I could understand. Would you please suggest me at normal condition/situation which one is suggested (Ref/Valid If)? Or which one is advantageous?

Thanks.

Solved Solved
0 1 1,062
1 ACCEPTED SOLUTION

Steve
Platinum 4
Platinum 4

The Ref data type provides references between tables, which can be useful for a variety of reasons; but if you have no need for references, using them solely because they make for an easy dropdown menu is likely to cause confusion and lead to problems. Setting a column type to Ref applies specific expectations to the values in the column that you may not want.

You might also consider using the Enum or EnumList column types. If you enable Auto-complete other values, the user will be offered a dropdown of values that already occur in that column.

See also:

View solution in original post

1 REPLY 1

Steve
Platinum 4
Platinum 4

The Ref data type provides references between tables, which can be useful for a variety of reasons; but if you have no need for references, using them solely because they make for an easy dropdown menu is likely to cause confusion and lead to problems. Setting a column type to Ref applies specific expectations to the values in the column that you may not want.

You might also consider using the Enum or EnumList column types. If you enable Auto-complete other values, the user will be offered a dropdown of values that already occur in that column.

See also:

Top Labels in this Space