2 Replies Latest reply on Nov 1, 2013 6:32 AM by philmodjunk

    Script for "Cancel Button"(Such that it undo all the modifications made)

    AimenYounus

      Title

      Script for "Cancel Button"(Such that it undo all the modifications made)

      Post

           I am making an accounts database and want to allow users to enter information int he account tables .I am using portal and no calculations or formulas.Attached is my script.

           I have attached a  "Enter " button to the layout so that the user could move data inside the portal with the Enter button and i am using Custom dialog to give use instructions.Within the custom dialog,i used two buttons: OK and CANCEL.

           The OK button just enters the data but i wan the Cancel button to undo the changes in the portal or within the portal.Please help me with the script.

           Thanks

            

            

      code.jpg