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.

Using event Listeners in Workflow Dialog

Avatar

Level 3

Hi,

I have a custom Date field in workflow dialog box which needs to be shown and hidden based on the next step field selection. Can anyone please guide how we can add listener. I tried same as authoring dialog listeners but it didn't worked. I am using AEM 6.3

4 Replies

Avatar

Administrator

Please check this article for hiding/showing Toggle fields based on selection in Granite UI dialogs - Adobe AEM Club

For custom Validation you can write a custom validator foundation-validation — Granite UI 1.0 documentation



Kautuk Sahni

Avatar

Level 3

Hi,

Thanks for your reply but links seems to be implementation for the authoring dialog of components. But it is not working for the "Complete Work Item dialog" custom fields in workflow

Avatar

Level 3

Hi,

Did you find a solution for this ? We are getting the same problem

Regards,

Ankush

Avatar

Level 3

Hello All,

Even I am facing similar kind of issue in my workflow dynamic participant step. I have a dialog where it has a drop down values. Author needs to select at least one form the drop-down values(I need it as required field). But I am not able to achieve it either by giving the field as required or by using "js".

Right now even without selecting at least one from drop-down when they click on ok the dialog is getting closed and  going to next step. can anyone help me out on this?