AnsweredAssumed Answered

What kind of Error number do we get when user select "OK" or "Cancel"?

Question asked by yuichim on Feb 22, 2011
Latest reply on Feb 22, 2011 by yuichim

Title

What kind of Error number do we get when user select "OK" or "Cancel"?

Post

Well, I am trying to create a script to validate a function (to change the status of record).
When a user clicks on a button, it opens a custom dialog asking:   Are you sure you want to change the status?

Then if a user clicks "OK", then I want to perform a script,  If no, then I want to do something else.
I know how to use the If Else statement, but how do I get the first calculation?

Any help much appreciated!!

Outcomes