Make a field computed or disabled for a certain user?

how can make a field disable or computed for a certain user??

for example

if user is equal to “Name”

field is disabled

is it possible??

Subject: client & web different…

For the client, I would probably do something like hide the field from the user and display computed text instead. Put this in the hide-when for the field:@Name([CN];@UserName) != reviewer

On the web, you can actually use the disabled or read-only properties. For example:

Put this in the HTML Properties of the field

@If(

@Name([CN];@UserName) != reviewer ;“class=lockme”;

“”)

Then this in the HTML Head, or in a style sheet

you load:

  .lockme

{

color: black;

border: 0px;

font-family: verdana;

readonly: true;

}

Subject: thanks for the reply

I appreciate your help Thank you very much :smiley:

Subject: Input Enabled field event

take a look at the Input Enabled field event

The input enabled formula enables or disable the field for input. If Input Enabled evaluates to 0, data cannot be added to the field. If it evaluates to anything else, data can be added to the field.