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
Feb 21, 2020 7:48 AM UTC
Solved

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

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.
arunpatidar
arunpatidarAccepted solution
New Participant
Feb 21, 2020 4:13 PM UTC

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

1 reply

arunpatidar
arunpatidarAccepted solution
New Participant
Feb 21, 2020 4:13 PM UTC

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

Translate
Arun Patidar