Client Script for form validation not working
问题 I have a client Script for which I have to do validation using validatefield event. I have written the code . The condition is - If the date is other than Sunday, it should show a pop-up. But the pop-up is not showing. I have tried to achieve using the try and catch block, but it didn't work.Please look and suggest where I am going wrong /** *@NApiVersion 2.0 *@NScriptType ClientScript */ define(["N/currentRecord","N/search","N/runtime","N/record","N/ui/dialog"], function print(cr,search