Pre-populate field from merged two fields from other Models?

  • 1
  • Question
  • Updated 5 years ago
  • Answered
I can easily pre-populate a field with a value from another model's field using a condition.

Is it possible to use multiple fields to do the same thing? Example: Record Name = {{User Alias}} & {{TODAY's DATE}}

Jacob
Photo of Jacob Flatter

Jacob Flatter

  • 1,512 Points 1k badge 2x thumb

Posted 5 years ago

  • 1
Photo of Jacob Flatter

Jacob Flatter

  • 1,512 Points 1k badge 2x thumb
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
You can use the getDate function for that.   And then use the JQuery datepicker "format" utility to parse the date in any way you need. (http://api.jqueryui.com/datepicker/)  
Photo of Jacob Flatter

Jacob Flatter

  • 1,512 Points 1k badge 2x thumb
$.datepicker.formatDate('dd/mm/yy', new Date())

Perfect, Thanks!