1 Reply Latest reply on Jan 10, 2011 6:24 AM by Rajkumar

    Lock fields by script



      Lock fields by script


      hello guys,

       I hv to lock some fields means there is a checkbox when i'll check, then only some fields are going to be locked.This i hv to perform by script,just suggest how this'll be done.



        • 1. Re: Lock fields by script

          for the check box, set autoscript "on record save", which'll save the content of present required filed(say A) on a hidden field(say B).

          now for ur field A, write another autoscript "on record save", which'll check for the check box, if it's on, then replace the content of the field A with the field B, else simply exit the script.

          Try it, hope it'll work.