Need to write a client script based on date difference.
I have a field 'D' in my catalog form. I need to write a catalog client script to ensure that if a date entered in field D is lesser than 30 days from the current date, it needs to clear D's value and show an error message.
