The CreatorCon Call for Content is officially open! Get started here.

Hide auto complete in reference variable

Fabricio4
Mega Sage

Hello!

I'm trying to disable the auto complete list that appears as you type in the variable. I have tried using "Variable attributes", but nothing worked.

 

For instance, this variable is a reference to the sys_user table. I don't want users to see other possible users in the list for security reasons. If possible, I'd want to completely eliminate any auto complete choice, even when there's a perfect match, and only accept the choice after typing the string perfectly and pressing enter. If there was a perfect match, the choice would be filled, if not, the variable would return empty.

 

Is that possible without a client script? And if not, how would that client script look like?

6 REPLIES 6

I have not found a solution, so the client dropped the requirement.

If you end up discovering a solution, please let us know.

 

Ap_1
Tera Contributor

Hi @Fabricio4 ,

 

As Ankur suggested, I have updated the variable attribute as below and it worked.

"ref_auto_completer=AJAXTableCompleterTEST,ref_ac_columns=u_name,ref_ac_columns_search=false"

TEST can be replaced by any String
u_name is the column name which becomes visible after you select.

It turns off the disables auto-search behavior.