Servicenow

HARSHA GOWDA R
Tera Contributor

In portal there are two fields called termination date(actual_end_date) and extension date(contractor_extension_date)with type as date.i should compare with date of both the fields.
case1: the termination date should not be present date,suppose if i select today's date it should give error saying that it should be future date.the extension date should be greater than termination date
case2: based on user we select,the termination date will get auto populate(not for all the users) and it will be readonly in this situation,it should check the termination date and compare with extended date, here also extended date should be greater than termination date.
I have tried but its not working for me
For the above cases i need in ajax format 

1 REPLY 1

Slava Savitsky
Giga Sage

Isn't it the same topic as this? Why post the same question twice?