I'm using Play! frameworks CRUD module but I can't figure something out: my database table has a created
field which is basically the time that a row was created. I don't want my user to set this, I want to do it in the backend, simply add the current time. I can't figure out how to do this though.
I have made the field invisible using @Hidden
but obviously now I can't create new rows because it's value simply isn't set. So where do I do this?
And another question I have: my table also has a column called publish
which is another timestamp. The current format for this field in the CRUD form is yyyy-MM-dd. I would like the specify a date as well, and can't figure out how..
Can someone help?