Use JQuery to dynamically update day’s field when year/month changes JQuery Code: //Adjust date picker days in month. $('select[name=birth_year],select[name=birth_month]').change(function(){ var year = $('select[name=bi ... ...