Replace the api.onchange for an sql constraint. Mandatory configuration approval fields must be displayed now.