Setting Default Record Names on Record Creation

Step 1. Select "Create" from the Quotes Module ListView to create a new record.


OR

Step 2. Select "Create" (the + button) from a related module (Accounts) in the sub panels.

When the pop up window shows (the cached version of the new Quote record), I want the "Record Name" field to be prefilled with a specific value before the first save. I'm assuming this is a simple modification to a file or files.. But I'm not sure what that file is. Anyone have any experience doing this? Would it be a LogicHook before_save?

Thank you!

  • Hi Steve,

    Logichook only handles backend functionalities. To set a prefilled value on the view you need to set it in create.js file by using this.model.set('field_name', value).