Validate (windowRef)

Called when user clicks OK or Next on a record that has had changes made to it (if no fields have been changed, the handler may not be called). Use the windowRef to access information from the window. The handler should return true or false (1 or 0) to indicate whether the window content should be accepted. Returning false will prevent the window from closing. IMPORTANT: If you do this you should provide an explanation to the user via an alert or coachtip. Users will be very unhappy if they don’t know why the OK button is not working!

Posted in Handlers | Comments Off on Validate