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

Read Only form

Avatar

Former Community Member

Hi,

I am trying to make a form read only.I want the entire form read only excpet for one field and when the client enters information into that one field,the rest of the form becomes "open".

I would appreciate any help on this.

Thanks!!!!

1 Reply

Avatar

Level 5

You can try to put a script on the Exit event of the 1st field.

Then you validate if the field is not empty, and use the property Access to set the behavior of the other fields.

Example:

field.access = "open";

subform.access = "open";