Editor created_at and updated_at
Editor created_at and updated_at
![XerK](https://secure.gravatar.com/avatar/a289b173fc9c3fb6c8dae742054e6df1/?default=https%3A%2F%2Fvanillicon.com%2Fa289b173fc9c3fb6c8dae742054e6df1_200.png&rating=g&size=120)
I use autoFill and key
now I need when I change the value or add value need to auto make date for updated_at and created_at.
{ label: "Setting Number:", name: "setting_numbers.setting_number" },
{
label: 'Created At:',
name: 'setting_numbers.created_at',
type: "datetime",
def: function () { return new Date(); }
}
it doesn't work when I put a value in the setting_number field
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi,
I'd suggest using a server-side event for this sort of thing. Are you using the PHP, .NET or NodeJS libraries, or are you using your own server-side code?
Allan
PHP
Perfect - the link I gave above is the right documentation then
.
Allan