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!

tie submit button to checkbox being checked

jfosteroracleJul 22 2008 — edited Jul 23 2008
I have an application with a page that is basically an on-line form. At the bottom of the page I have a list of conditions with an "accept" checkbox and a SUBMIT INFO button. I would like to make the SUBMIT button inactive until the user checks the "accept" checkbox, so that they have to accept the conditions in the form before they can submit their data.

I can do it using a checkbox with javascript that submits the page, and setting the button to be conditional on the checkbox = 1. But what I'd like to be able to do is check the checkbox and make the button active, without having to submit (refresh the page).

I know this is an AJAX type of thing, but I'm not sure of how to do it in this instance.

Thanks in advance,
John
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 20 2008
Added on Jul 22 2008
18 comments
3,182 views