I have 3 input fields in my htmlb:form.
When the user presses the save button, this is what I do:
<htmlb:button id = "bg1" onClientClick = "chkformelements();"
onClick = "buttonPressed" >
How can I control (only fire) my onclick event depending on the outcome of onclientclick event maintained by js function?