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!

How to get input value filed from Oracle Apex Report (using javascript)

SiberiaFeb 9 2020 — edited Feb 10 2020

Hi.

I have made a classic report displaying product data on it, and i have added to my query an html input field too, so the user can input a quantity value. Actually when user clic record's table buttom, i need to capture two elements:

1.) Product ID (is working OK)

2.) Quantity user has just input (not working)

Here you can see my report's query (as you can see i have placed an input field inside of it, to get user quantity):

report query with imput field.JPG

Here is my report's layout at runtime:

displayed report.JPG

And here is the javascript i have to get values:

link button to add selected product.JPG

Here is the error's console (seems i am trying to get all the definition of input item and not his value)

browser error console.JPG

i am completely new using java script and i am not sure how to get input field's value, since this is an html's input item.

Any help is welcome,

I am using : Application Express 19.2.0.00.18

Thanks in advance.!

Comments
Post Details
Added on Feb 9 2020
7 comments
304 views