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!

problem while setting focus on page item(s)

SmithJohn45Jul 24 2024

on a page i have 3 page items, P176_DISC_TYPE, P176_DISC_PCT, P176_DISC_AMOUNT
P176_DISC_TYPE is a Select List item on static values, percent and value
when user select 'percent' then focus should be on P176_DISC_PCT and P176_DISC_AMOUNT should be readonly.
i created a DA on change of P176_DISC_TYPE, created True Action 'Set Focus' and selected item P176_DISC_PCT, the 2nd Action is Disable and here i selected item P176_DISC_AMOUNT
this DA is not working, focus not on P176_DISC_PCT, i searched on net and changed it to Execute Javascript Code and added Code: document.getElementById("P176_DISC_PCT").focus();
this is also not working. please help.
regards

This post has been answered by fac586 on Jul 26 2024
Jump to Answer
Comments
Post Details
Added on Jul 24 2024
18 comments
345 views