I have a DatePicker field, I would like it to show this format : 'M d', but I want the value of this date in this date format 'yy-mm-dd'.
Is there a way to show a date format and submitted another one ?
Here my DatePicker fonction
    $( "#datepicker" ).datepicker({
                dateFormat: \'yy-mm-dd\',   
                buttonImage: \'calendar.png\',   
                buttonImageOnly: true,   
                showOn: \'button\',   
   });
Here my field
<input type="text" name="simulateur[startingDate]" id="datepicker" required>
 
     
    