Skip to main content

Dynamically get the value selected
for autocomplete in Oracle APEX

Sometimes we would like to return the selected values from autocomplete and continue to use them in another Javascript function or send the value to the server. This is where Oracle APEX Autocomplete comes in handy.

Oracle APEX Autocomplete is a mechanism commonly used in modern websites to provide the user with a list of suggested words that they have typed in a text box. The user can then select an item from the list displayed in the input field. This feature saves the user from having to type an entire word or a series of words. In this article, you will learn how to dynamically retrieve the selected value for autocomplete in Oracle APEX.

Create a Oracle dynamic action

  • Name: getselectedValue
  • Event: select
  • Item(s): choose your autocomplete Page Item
  • Event Scope: static
  • Action: Execute Javascript Code
  • Code: console.log(apex.item(this.triggeringElement.id).getValue())
  • Fire on Initialization : No

Das neue PITSS.CON Release für Oracle Forms 14c

Der leichte Weg für den Upgrade und die Optimierung von Oracle Forms Applikationen

Mehr lesen

Förderprojekt BMBF

PITSS erhält Zuschlag für Förderprojekt des BMBF zur digitalen Softwaredokumentation

Mehr lesen

Your Contact

Uta Daniels
Assistant of Sales Management

udaniels@pitss.com +49 711/914-012-12