Leiste mit Community-Erfolgen erweitern.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
GELÖST

How to put condition on Date picker based on other date picker in same metadata AEM 6.3.0

Avatar

Level 7

Hi All,

 

We have to make a condition for the field called Expiration date where the date entered should not exceed the license expiration date field

 

and these two fields have the same resource Type - /libs/granite/ui/components/coral/foundation/form/datepicker.


Can you please help me to get the best approach to get the solution, either can we set it from AEM properties or we need to include some code for this condition and how?

 

image.png

 

Condition here is Expiration Date < = License Expiration date.

 

Thanks

 

@kautuk_sahni  @arunpatidar  @VeenaVikraman 

 

Themen

Anhand von Themen werden Community-Inhalte kategorisiert und Sie können so relevanten Inhalt besser finden.

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Community Advisor

you have to write a custom logic like dialog to do the validation. and on click event of save & close do a validation.



Arun Patidar

Lösung in ursprünglichem Beitrag anzeigen

1 Antwort

Avatar

Korrekte Antwort von
Community Advisor

you have to write a custom logic like dialog to do the validation. and on click event of save & close do a validation.



Arun Patidar