Applies to:

Oracle Documaker - Version 12.3 and laterInformation in this document applies to any platform.

Goal

When attempting to run a pre-edit DAL Script for a field.------------------------currgroup=wipfld("currgroup")if currgroup != 1msg("You do not have the necessary access to change this content. This transaction will be closed now.")exit = wipexit(1)end-----------------------

When the script is executed in Documaker interactive,there is a pop-up with the above message.After click on the OK, an error: "Line 4 Column 9 Error 20 Token wipexit Msg: Function out of place"The intent is to make a field editable only for a specific set of users. Hence the if condition to check user group.Is there another way to define user specific editable fields?