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

Avatar

Avatar

tushaar_srivastava

Avatar

tushaar_srivastava

tushaar_srivastava

20-02-2020

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  @Arun_Patidar  @Veena_Vikram 

 

aem 6.3.0 date condition date picker Touchui dialog

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

21-02-2020

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

Answers (0)