Skip to content

Instantly share code, notes, and snippets.

@gentunian
Created August 11, 2015 14:53
Show Gist options
  • Save gentunian/a481b79cbca78c0801a4 to your computer and use it in GitHub Desktop.
Save gentunian/a481b79cbca78c0801a4 to your computer and use it in GitHub Desktop.
{{#autoForm ... }}
...
{{> afQuickField name="createdBy" }}
...
{{/autoForm}}
createdBy: {
type: String,
autoform: {
type: "hidden",
label: false
},
autoValue: function () { return Meteor.userId() }
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment