Expand my Community achievements bar.

SOLVED

Creating Typeahead filters using custom fields

Avatar

Level 4

Is it possible to create a typeahead filter using a custom field?  the custom field is a dropdown field.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
5 Replies

Avatar

Community Advisor

You could use external lookup but it will only have a string value, not an ID + name like a TYAH field.

Avatar

Level 4

what about 'OR' logic in a typeahead field filter?

Avatar

Correct answer by
Community Advisor

Avatar

Level 2

What about if you want the right side of the compare to be a value in a custom field?  All of the examples at the link above show comparing the content of a field to an actual value.  I would really like to be able to filter based on the value that is stored in another custom form field. For instance, if I have a dropdown field that sets the value of SupplierType, using that value to filter a typeahead contents so that I only get suppliers of a certain type.

Avatar

Community Advisor

Sadly not with TYAH fields - the filter is passed verbatim and not evaluated (ie, when passing something like DE:otherField=FIELD:DE:someFieldValue the "DE:someFieldValue" is not evaluated)

 

You can do that with the external lookup (although you then just get a string value, not an object)

 

Might be worth posting that under ideas though - should be possible to pass a dependent field similar to external lookups