Fix datepicker issues on client interface

Datepickers were broken on custom forms on the client interface