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.

Manipulating Dialogue Fields in AEM 6.1

Avatar

Level 2

I have a requirement where I have multiple sets in a dialogue, I want the user to fill only the top 3 sets and not beyond that. I cannot remove the multiple sets. I need to display an error message on the author page once the user clicks 'ok' on the dialogue after filling the fourth set. I can probably have the error message in a text component on the page to be displayed on the condition. How do I execute the display of that text component based on the number of field sets that the user is filling in the dialogue.

Any leads would be helpful.

Thanks

1 Reply

Avatar

Level 2

You can write custom event listeners to show an alert message.