How can I set the default value for a date/time field to the current time?

  • 1
  • Question
  • Updated 5 years ago
I have a user entry field that has date/time as the data type. I would like to set the default value to Now() when adding a new row in a table. The user can change the value if needed.
Photo of Heath Long

Heath Long

  • 120 Points 100 badge 2x thumb

Posted 5 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Heath - you can absolutely do that with a little Javascript.  There is a great conversation about code that includes such a default date in this conversation:  http://community.skuidify.com/skuid/topics/setting_default_values_for_quick_data_entry   Hopefully that will give you a good start.  Enjoy the coding over turkey...  Grin.