How to disable the suggested results at a Reference Variable?

pablopaciullo
Kilo Contributor

Hello guys,

I have added a reference variable in a Catalog Item. This variable is intended to search a value from a table and put it into the field. But I need to hide the search results (not to show possible ones) so the user must enter a valid one without having the choice to select anyone.

find_real_file.png

Is there any way so the user must enter the value and if it is valid it only gets the match?

Cheers!

Pablo

6 REPLIES 6

salmezy
Giga Contributor

Hello,

 

Where you able to resolve this? I'm trying to achieve the same requirement.

Hi,

You could perhaps try setting a non-valid value to the attribute: ref_auto_completer. Valid values are: AJAXReferenceCompleter, AJAXTableCompleter and AJAXReferenceChoice. Perhaps try doing something like: ref_auto_completer=DoNotDisplay

From documentation : 

AttributeDescription
ref_auto_completerSpecifies the name of the client-side JavaScript class that creates the drop-down auto completion choices. Valid class values include:
  • AJAXReferenceCompleter: Displays matching auto-complete choices as a drop-down choice list. The list only displays the reference table's display value column. Reference fields automatically use this class if there is no other auto-completion class specified.
  • AJAXTableCompleter: Displays matching auto-complete choices as rows in a table. The table displays the reference table's display value column and any columns listed in the ref_ac_columns attribute.
  • AJAXReferenceChoice: Displays matching auto-complete choices as a drop-down choice-list. The list only displays the reference table's display value column. Furthermore, the list only displays up to 25 matching choices. If there are more than 25 auto-complete choices, the reference field instead displays the choices with the AJAXTableCompleter class.

 

I hope this helps!

Berny