Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can we "auto fill" form values after selecting an item?

ToolTimeTaborMay 17 2023

This is likely quite simple, but I have not been using APEX for several years.

We have a Worker dropdown list of values that includes a display value of the Last Name, First Name and Employee ID with the bound value being the Employee ID. Usually, the first and last name will be the same as the dropdown list. However, sometimes the user wants to alter the first name (e.g. Robert becomes Rob, etc.)

Is there a way to respond to the selection of a worker from the list and parse the Last Name and First Name into their respective text fields immediately below, as defaults?

The three item names are creatively called:

P3_WORKER_ID

P3_WORKER_LAST_NAME

P3_WORKER_FIRST_NAME

In Windows Forms, there would be an “after_selection” event or similar. Is there an equivalent way in APEX to do this?

This post has been answered by InoL on May 17 2023
Jump to Answer
Comments
Post Details
Added on May 17 2023
2 comments
1,006 views