I have collection with a few auto generated fields (generating them on insert/creation) that could be edited later.
AutoForm with SimpleSchema and Collection2 for From generation.
Where and when it’s better place to generate data for such fields and put into database?
- Write needed code using
autoValuedirectly in schema.
- Use AutoForm Hooks.
- Do it using
What’s are pluses and minuses in each case?