AnsweredAssumed Answered

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

Question asked by amanbolat on Mar 31, 2015
Latest reply on Apr 20, 2015 by amanbolat


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?