Current Record: timestamp #44

Return to fields.ini file A very simple sample of this could be your table contains the table date_created as a type of date. In your fiel...

Current Record: timestamp #44

Return to fields.ini file A very simple sample of this could be your table contains the table date_created as a type of date. In your fiel...

timestamp

[Permalink]

Return to fields.ini file

A very simple sample of this could be your table contains the table date_created as a type of date. In your fields.ini, you would include this:

[date_created]
timestamp=insert
widget:type=hidden

The widget:type=hidden will make the field not visible during entry and editing. And the timestamp=insert causes the field to be filled upon insertion of a new record.

Possible Values

  • update - Causes timestamp to be updated whenever the record is modified.
  • insert - Causes the timestamp to be updated only when the record is first inserted.
blog comments powered by Disqus
Powered by Xataface
(c) 2005-2024 All rights reserved