7 Replies Latest reply on Dec 14, 2013 2:50 PM by alquimby

    Script trigger to stop field changing if condition is true


      Hi There,


      I know I'm being an idiot here but.....


      I'm trying to set a script trigger on a field with a pop-up menu to stop the user changing the value if a certain condition is met. I have set up a small test script that runs OnObjectValidate and should return "true" or "false". However, it looks like it's locking up due to keeping looping through.


      I realise this is cheeky but for the sake of time, does anyone have an example or hints on how to set this up so I don't spend a long time tinkering? As you can probbaly tell I'm on a deadline and this isn;t the key bit of achieving the deadline!


      Thanks in advance for any help.


      Kind Regards