title: AutoForm fields
body: <p>I am creating a form by using the package aldeed:autoform</p>
  
  <p>So this how my code is</p>
  
  <pre><code>CompanyData = new Mongo.Collection('companyData');
  CompanyData.attachSchema(new SimpleSchema({
      allFields: {
          type: String,
          allowedValues: ['title', 'logo', 'url'],
          autoform: {
              type: "selectize"
          }
      },
      title:{
          type:'String',
          label:'Name',
          unique:true,
          max:100
      },
  
      logo:{
          type:'String',
          label:'Logo',
          optional:true
      }
  }));
  </code></pre>
  
  <p>This is what I need</p>
  
  <ol>
  <li><p>When the user inserts the data in a collection, I want to add a field called 'createdBy' whose value will be userId.</p></li>
  <li><p>When a user updates the data, I want to add a field called 'updatedBy' whose value will be userId.</p></li>
  </ol>
  
  <p>Now 'createdBy' field should not get updated when user updates the data. But the 'updatedBy' field should be updated.</p>
  
  <p>And yes, when the form fields are shown, createdBy and updatedBy fields are to be NOT shown.</p>
  
  <p>Any help</p>