≡ Menu

How to disable AutoComplete functionality on controls Dynamics Ax

How to disable autocomplete functionality on Form Control in dynamics Ax.

Currently I was facing the problem of autocomplete functionality, every time user enter text for search, stringEdit control filled with autocomplete and error message display. I was using TextChange Method of String Edit Control. I add the following line of code in TextChange method alongside other code that works for search functionality.

element.delAutoCompleteString(this);

If you want to disable functionality on single control you can add same code text modify of control like as

public boolean modified()
{
boolean ret;
;

ret = super();

element.delAutoCompleteString(this);

return ret;
}

Sometimes we have to disable the autoComplete at application level so all autocomplete functionality will disable on all control. For this purpose you have the override the leave method of StringEdit:FindEdit field on theSysFormSearch form that is in the FindGrp group: as

ret = super();
if (ret)
element.delAutoCompleteString(this);

return ret;

{ 0 comments… add one }

Leave a Comment