You need to sign in to do that
Don't have an account?

Date formate error on vf page
Hi All,
I have a date input field called 'Passport Issuance Date' and the formate for the date is mm/dd/yy so i want to show the error on the vf page itself if the date entered in the field is in the formate of dd/mm/yy.
Thanks in advance.
I have a date input field called 'Passport Issuance Date' and the formate for the date is mm/dd/yy so i want to show the error on the vf page itself if the date entered in the field is in the formate of dd/mm/yy.
Thanks in advance.
You can check below link for date validation here.
https://stackoverflow.com/questions/6177975/how-to-validate-date-with-format-mm-dd-yyyy-in-javascript/49178339