Why doesn Omni Field Security work for fields not on the main window?
Sometimes Omni Field Security will not work if the field you are attempting to Hide, Disable or Lock is not on the Main window of a form; i.e. it is in a scrolling window or secondary window. To get around this issue you will need to use a small amount of scripting. Below are the steps: Make a note of the window name where the field you wish to Hide, Disable or Lock is, and make a note of the field name. Change the Field Security settings to use any field that is on the Main window, Save Button or OK buttons are good for this purpose. Activate conditional scripting and change the Default window command to use the window name noted earlier. Change the OUT_Active=true; to OUT_Active=false;, this will stop the field that is now selected from being affected. Then, add a line with the command hide, lock or disable, leave a space and then the field name surrounded by single quotes. Finally, terminate the line with a semicolon (;). The result is that the timing of the trigger has been moved t