How to check date in months and do validation

sony8
Tera Contributor

Hello ,

 

I am working on a Ui action “Add Review”. 
when on clicking this button it should check one of the field display based in Assigned date.

if Assigned date is less than or equal to 8 months from request created date.then display and make mandatory  the below field “Reason for assigned”

if Assigned date is less than or equal 15 months  from request created date. then do not display “Reason for assigned”.

 

As Assigned date is a date/time type field,

how to check this date in months in my ui action using script include?

 

 

0 REPLIES 0