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:
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.
blog comments powered by
- 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.