How is the modal box getting triggered, are you doing it using toggle control , or using Javascript ?
Also what kind of validation do you need, will a javascript validation suffice ?
My guess is you are using toggle control - if you change the code to open the Model Box through Javascript, you can finish the validation on ‘onClick’ and then based on the result you can open the modal box.
If you want server side validation i.e. validating customer data from a DB, you would have to use aync controls to send it to the server , validate and based on the result , you can conditionally trigger the modal box.
#webMethods#webMethods-BPMS#MWS-CAF-Task-Engine