datetime field not updated on db
datetime field not updated on db
javismiles
Posts: 205Questions: 38Answers: 3
in Editor
im declaring a field as Datetime like this
fieldobj[index] = {
label: obj.d,
name: obj.i,
className: obj.c,
type: "datetime",
def: function () { return new Date(); },
format: 'MM-DD-YYYY h:mm A',
fieldInfo: 'Euro style date with 24 hour clock'
};
I also included moment.min.js
I have no errors, but when I inline edit that field, yes I select new date etc, but value is then not updated on database,
not at all, and no errors, help please
This discussion has been closed.
Answers
the formatting was wrong, we can close this, thank u