KS Pratap - yes, I know what that code is for. If you read through the rest of this discussion, you will see I was asking the original poster to try running that code on its own (without all the surrounding form code), to see if it worked when isolated. That was the first step in narrowing-down the problem they were having.
General developer forum
Form Submission/Cancellation Problem
This discussion has been locked so you can no longer reply to it.