Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Fields Stat/Type

Avatar

Level 3

Dear,

I there a solution to change a field stat.

Exemple i have field i want to let it visible but i dont want to let it abel to be use il want to see it and disable the stat or the type.

Thanks

1 Reply

Avatar

Level 10

Hi,

You can set the access to the object using Javascript.

this.access = "open"; // the object is available to the user

or

this.access = "readOnly"; // the object is not available to the user, but calculations or script can change the value. Participates in tabbing

or

this.access = "protected"; // the object is not available to the user, but calculations or script can change the value. Does not participate in tabbing

or, if your users have Acrobat/Reader version 9

this.access = "nonInteractive"; // the object is not available to the user, calculations only happen at load time

Generally setting the access to Read Only is sufficient.

Niall