How to put condition on Date picker based on other date picker in same metadata AEM 6.3.0 | Community
Skip to main content
tushaar_srivastava
Level 6
February 21, 2020
Solved

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

  • February 21, 2020
  • 1 reply
  • 2078 views

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?

 

 

Condition here is Expiration Date < = License Expiration date.

 

Thanks

 

@kautuk_sahni  @arunpatidar  @veenavikraman 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
February 21, 2020

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