This is a Toad for Oracle forum, so this really isn't the right place for this question. I'm familiar with APEX, and I can tell you that there are many other better (simpler) ways to do this other than using a function - specifically using validations/conditions/dynamic actions. All you really have to do is create a dynamic action on an event change and then validate to see if the field is populated and not let the user submit until it is. A simple google search will return a ton of hits and examples on this subject, but if you have specific question, I would recommend you post them to the Oracle APEX forums.
↧