I need some suggestion about conditional submit. I have a form region named as "radius search" in a page controled by a radio box. If the radio box "map search" is chosen, this region is shown. When a user input an address in the form and submit it, I need to first validate the address, if the address is valid, show a new page with Google map, otherwise, I need to show an error message with orginal form.
The problem is: If address is invalid, APEX clears the form region "radius search", and I have to chose radio box "map search" again. Is there anyway that I can keep current form region not being cleared whenever I input an invalid address? I tried many methods to keep the form, but it does not work as long as I submit the form.