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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

how can i enable a button to trigger a pl/sql insert action on click in an apex pl/sql dynamic conte

User_G4ALZJan 4 2021

i have this form i made with htp.p('');

htp.p('
<form>
<select multiple width="100%" style="width: 100%; height: 80%;">   
  ');
for a in 
(select id_plan, year_plan from plan)
loop
  htp.p('
<option value="'||htf.escape_sc(a.id_plan)||'">'||htf.escape_sc(a.year_plan)||'</option> 
end loop;
htp.p('</select>
<input type="submit" value="Submit">
</form>
');

i want to execute a pl/sql insert or update action when the form button is clicked.
is that possible ?
if so how?

This post has been answered by fac586 on Jan 4 2021
Jump to Answer

Comments

Post Details

Added on Jan 4 2021
6 comments
956 views