Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Enabling a button after disabling it

Avatar

Level 2

What's the code for enabling a button after setting the access property of the button to "readonly" (form1.Button2.access = "readOnly";)?

Thanks in advance.

2 Replies

Avatar

Level 10

Hi,

The following should do it:

form1.Button2.access = "open";

Good luck,

Niall