6 Replies Latest reply on Apr 20, 2015 4:15 AM by amanbolat

    Container Field with Script Trigger OnObjectModify. Does not work correctly!



      I have a container field on my layout with script trigger OnObjectModify.


      Allow User Abort [ Off ]

      Set Error Capture [ On ]

      Set Variable [ $status; Value:STATUS ]

      If [ $status = 1 ]

           Revert Record/Request [ No dialog ]

           Show Custom Dialog [ ... ]

           Close Popover

           Halt Script

      End If


      So it should revert record when i want edit it and don't allow me to edit it, upload image into container or delete it.

      This script works very good with simple text fields, but containers.


      Any ideas?