Skip to Main Content

Oracle Forms

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!

way to find at least one check box checked in Oracle forms

User_KVV1CSep 6 2018 — edited Oct 12 2018

Hi All,

I have below form, I need to enable the "OK" button only if at least one check box is checked.

pastedImage_0.png

I have written below code in WHEN-CHECKBOX-CHANGED trigger

IF Checkbox_Checked('block.checkbox_item_name') THEN

set_item_property('BLOCK.OK', enabled, property_tRUE);

else

set_item_property('BLOCK.OK', enabled, property_false);

end if;

Problem is when ever i uncheck a already selected box, even though some other check box is checked, the "OK" button is getting disabled. Which should not be the case.

Please advice on how to get this functionality.

Regards,

Balaji

This post has been answered by Martijnke on Sep 7 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 16 2018
Added on Sep 6 2018
17 comments
4,856 views