This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 30th, when you will be able to use this site as normal.

    Forum Stats

  • 3,889,967 Users
  • 2,269,775 Discussions


Oracle Apex textarea value jQuery

User_L0W8S Member Posts: 1 Green Ribbon
edited Apr 8, 2022 12:56PM in APEX Discussions


I'm having an issue with a DA I created for copying comment value from first textarea item to the following fields in the same report. The textarea field is created within a report region SQL query APEX_ITEM.TEXTAREA(1, ..., ..., ...).

I created a button which runs a JavaScript expression with the following code:

if ($('input[name=f01]').val() == undefined) {


 apex.message.showErrors([{type:'error',location:'page',message:'No comments inserted',unsafe: false}]); 

} else {



Whatever is inserted into the textarea the code still returns an error saying 'No comments inserted', which means it's not receiving any data from the textarea item. Why is that? How to get around that issue? I have used the same method on other items and it's working as needed.

Best Answer