Hello all!
I am searching for an elusive answer to fix the birth date default format in Dolphin ( I am using 6.1.6). I have to ask this question below, because I am not that familar with js. I found this code on my Join page for Dolphin. Can someone who know js confirm that I change the format to m/d/year instead of d/m/yy so I can be rid of the defualt birth date format? The code is below:
type="text/javascript" language="JavaScript"
language="JavaScript" src="inc/js/join.js"></script>
<script type="text/javascript" language="JavaScript">
$( document ).ready( function(){
$( '.input_date' ).datepicker({
dateFormat: 'd/m/yy',
yearRange: '1933:1991',
mandatory: true,
closeText: 'X',
defaultDate: -6575
});
} );
</script>
and change to this:
$( '.input_date' ).datepicker({
dateFormat: 'm/d/yy',
yearRange: '1933:1991',
mandatory: true,
closeText: 'X',
defaultDate: -6575
});
} );
</script>
Will this work and do I need to change or modify anything else?
Thanks!