Expand my Community achievements bar.

SOLVED

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

Avatar

Level 6

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 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
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

View solution in original post

1 Reply

Avatar

Correct answer by
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