Possible Values

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.

  • 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.

var disqus_identifier = ‘xataface.com/wiki/timestamp’; (function() { var dsq = document.createElement(‘script’); dsq.type = ‘text/javascript’; dsq.async = true; dsq.src = ‘http://xataface.disqus.com/embed.js’; (document.getElementsByTagName(‘head’)[0] || document.getElementsByTagName(‘body’)[0]).appendChild(dsq); })(); blog comments powered by Disqus

//<![CDATA[ (function() { var links = document.getElementsByTagName(‘a’); var query = ‘?’; for(var i = 0; i < links.length; i++) { if(links[i].href.indexOf(‘#disqus_thread’) >= 0) { query += ‘url’ + i + ‘=’ + encodeURIComponent(links[i].href) + ‘&’; } } document.write(‘