I have a text item in a block for which I wrote the When-Validate-Item
trigger to do the data validation. I have a Cancel button in the block. When
I press the Cancel button I want to close the block with out any validation. Everything is doing fine
when the entered value is the valid one in the text item. But when the
validation fails it is throwing the message box from the When-Validate-Item.
How can I make the code not to execute the when-validate-item trigger
when I press the Cancel button. For all the rest of the cases it should work.
Lot of thanks in advance.