Set a default value once the model has loaded.

  • 1
  • Question
  • Updated 2 years ago
  • Answered
Hi,

How to set a value of a certain field once the model has loaded?
Photo of Rowel Ventura

Rowel Ventura

  • 424 Points 250 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Chandra V

Chandra V, Champion

  • 6,966 Points 5k badge 2x thumb
Is this for the creation of a new record?  If yes, then add your field and the value you want to set it to as a condition on the model.