Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why doesn Omni Field Security work for fields not on the main window?

0
Posted

Why doesn Omni Field Security work for fields not on the main window?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123