Submit button ignores runtime change of DISABLE_MANAGER_EVALUATION_SUBMIT constant
Hi,
In the Performance Document – Manager Evaluation task, we are trying to disable the Submit button when the manager has not assigned any performance goals to the worker.
In Visual Builder, the enabled/disabled behavior of the Submit button is controlled by the constant DISABLE_MANAGER_EVALUATION_SUBMIT.
Implemented Configuration
- An Action Chain is executed on the vbEnter event of the page.
- The action chain evaluates the number of performance goals assigned to the worker.
- At the end of the action chain, a boolean variable GOAL_PROVA is set as follows:
- GOAL_PROVA = true when the goal count is = 0
- GOAL_PROVA = false
Tagged:
0