In a multipage (ARIS 9.7) dialog I want to validate the input when the OK button is pressed. In case of invalid data the dialog may not be closed. This leads to the following questions.

1. Is there a way to create an eventhandler for the OKbutton ( 'this.OK_pressed = function()'  does not work)) ?

2. Is there a way to prevent the dialog from closing when the OK-button is pressed (assuming that there is a solution for the first question), and how do I close the dialog 'manually'?

3. Is it possible to prevent automatic generation of the Ok and Cancel button?

Tags: ARIS script