JulianJohnson

Script trigger to stop field changing if condition is true

Discussion created by JulianJohnson on Dec 14, 2013
Latest reply on Dec 14, 2013 by alquimby

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

Jules

Outcomes