Hide dropdown in AEM Designer
I have a form with a dropdown field called "Chapter Officer" and when a user does not select anything and goes to the next field, I want this field to be hidden.
Can anyone help me with this?
Thanks in advance.
I have a form with a dropdown field called "Chapter Officer" and when a user does not select anything and goes to the next field, I want this field to be hidden.
Can anyone help me with this?
Thanks in advance.
Use the exit event of the dropdown where the user is supposed to make an selection.
Chapter_Officer.presence = this.isNull ? "hidden": "visible";
Btw. You cannot use objects names that begin with a digit, since this isn't allowed by XML standards. A SOM expression as Chapter_Officer.0.0 can't work.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.