I need to be able to pop up a dialog window in a form containing a custom informational or warning message to the user and an OK button that has to be clicked to return to form control (i.e., a modal dialog window) when a certain value in a dropdown is selected or a checkbox checked. How can I do that?
I tried to use windows.alert() in the validation script and returning true, which works, but the pop up keeps coming up over and over again about half a dozen times when I click the OK button on the pop up.
I put the alert in the script for a Business Rule - General Purpose and it worked! However, I had hoped that there was some Avoka widget to do this.
Actually, it was pointed out to me that I can't use the standard windows.alert() because we need to have the same CSS styles applied to the modal window as is applied to the base form.
Can you post the code and steps how you able to do it?