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.

not allowed to modify the field.

Avatar

Former Community Member
I used this code to access control to a field depending on the value of another. But, I suppose that after an update, now not working properly.

I returns a window "cancel calculation. You are not permitted to modify the field."



This is the code for the Calculate success:

if (campaña.rawValue == 0) {

this.access = "readOnly";

this.rawValue = "";

} else {

this.access = "open";

}

this.rawValue;



All forms previously created work properly.



Thank you, and greetings
0 Replies