January 23, 200917 yr I can prevent modification of individual text fields on a layout by using the OnObjectEnter ScriptTrigger to sense when the user enters a particular field to redirect the user. This doesn't work with radio button or check box fields because these fields are already modified by the time the OnObjectEnter ScriptTrigger fires. How can I prevent modification of individual fields (especially radio-button/check-box fields) of a layout without using record locks?
January 23, 200917 yr Hi jansenw, Have you considered just using field control Behavior and disallow entry in Browse or Find mode on that particular example of the field? Of course you'll have to provide SOME way SOME time to allow modification (on different layout) but you haven't said when or why you want to prohibit entry. LaRetta
January 24, 200917 yr I would strongly discourage trying to turn event triggers into data validation vehicles. Remember that even if an event is attached to a field on a layout, that any other instance of that field is not covered by that event trigger. Steven
January 24, 200917 yr Author Thanks for your advice. Do you have a recommendation on how to limit the modification (not using record locking) of a check box field on a layout? The modification lock is based on another field in the same record.
January 24, 200917 yr You can prevent subsequent modification of a field once it has been modified the first time by setting up a test in the validation tab of the field's definition. Steven
Create an account or sign in to comment