Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7916 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Once data has been entered in a field, I would like to restrict entry into this field except for one specific person. How can I do this? I am aware that I can write a script that checks the user and permits edit based on who it is but how do make the script run when they enter into the field?

Posted

Use field validations.

In the define fields, open the Options for the field, then click the validation tab. Then use the 'validate by calculation' checkbox. Then have a calculation like this:

if( Status(currentGroupName)="Allowed guy", 1, 0)

Posted

thanks- that would work if i only wanted "allowed guy" to enter data into the field, however, I want anyone to be able to enter data into the field and then once something is entered only "allowed guy" can edit it. any ideas?

Posted

Disallow entry into field and attach the script to it

if( Status(currentGroupName)="Allowed guy" or isEmpty(theField))

Go To Field [theField]

end if

Dj

  • Newbies
Posted

A way to allow for conditional modifications is to have a second field with an auto-enter value of the first field. Field1, field 2: auto-enter = field1. Then you could allow for modifications only if

field1 = field2 or Status(CurrentMode) = 1 or user =...

Posted

How to attach a script to a field:

First, create your script. Then, in layout mode, select the field, then choose Format - Button..., click Perform Script, and choose your script from the list.

This topic is 7916 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.