fixed: nasty date element issue. Edit a record, save it and before submission date is correctly set to mysql format. Press back button date is re-shown in mysql format and not formatted date. Resaving this date would cause it to be massively incremented. Added a regex to check if its already in mysql format and if so to use that as submission value