Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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