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!

Process checkbox array in javascript

813584Nov 12 2010 — edited Nov 14 2010
Hello,
I'm new to Apex and Javascript. I'm using Apex 3.2.0

Here's my question: I have a tabular report with a checkbox selector. When the user clicks the Delete button I want to display an alert if the user does not select any records.
The array containing the checked boxes in the tabular report is Apex_Application.G_F30

I know I can verify the count in a pl/sql process with " if apex_application.G_F30.Count = 0 then ... "

However, I would like to do this check in javascript. The script would be called from the Delete button. If the count is zero, the alert would be "No records were selected" or something like that. if the count is greater than zero, then I submit the process to delete the records.

Your help is greately appreciated.

Regards,

Al
This post has been answered by 725793 on Nov 12 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 12 2010
Added on Nov 12 2010
5 comments
393 views