Set a default value once the model has loaded.

  • 1
  • Question
  • Updated 3 years ago
  • Answered

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 3 years ago

  • 1
Photo of Chandra V

Chandra V, Champion

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