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
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
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
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?