Onsubmit client script alert for Date validation does not appear for some users.Issue Onsubmit client script alert for Date validation on a form does not appear for some users. However, for certain users, the client script is triggered as expected. Lets take the below script for example: function onSubmit() {//Type appropriate comment here, and begin script belowvar due_date = new Date(g_form.getValue('u_due_date'));var current_date = new Date();alert("Script executed.");if (due_date <= current_date) {alert("Due date must be greater than current date");return false;}}ReleaseAll supported releases and versions.CauseThe client script will not trigger for the users, who have a different date format set other than the system defined date format in their user profile. ResolutionIn the user profile, set the date format to System date format. Keeping the date field as System will show blank in the list view. If you add this same field in form view, you can see that System is selected for the date format. Related LinksThe issue here is the date validations (calculation differences should not be done on client side)If the date formats are different and the calculation is done on client side it gives errors and does not work as expected.Ideally, the client script should call a script include where the validation should be handled. You can also refer to the Community Blog - The Secrets of GlideDateTime