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!

Support for Javascript event handlers

partlycloudyMay 7 2005 — edited Nov 4 2005
1. Button onClick event: It is useful to expose this event handler to do stuff when buttons are clicked. Currently, I can only do this if I create the button as a HTML button and this looks quite ugly when the rest of the page is template based and other buttons are template based!

Why is this event not exposed for template based buttons?

2. Form onSubmit event: No matter what I do, I cannot get access to the wwv_flow form's onSubmit event handler! Why is this? What if I want to certain pre-submit validations, popup alerts, set client-side javascript variables, etc, etc before submitting the form? Depending on the logic inside that event handler, I might even want to 'return false' and prevent the form from being submitted.

I am surprised there is no way to do this?!

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 2 2005
Added on May 7 2005
3 comments
593 views