Hi. I'm using JDev/ADF 12c.
I'm using JavaScript for validate some ADF components when I click a af:button. That button has in 'action' property a call to other page.
I need that that 'action' executes only if validation it's good. If, per example, a inputText is empty, I need that the button don't go to other page (don't execute 'action').
If validation says that there's some wrong data, I need that user stays in the same page (even if I click that button that 'in theory' addressed me to other page).
How can I do that? How can I 'cancel' the 'action' of the button?
Sorry for my english. Thank you.