Body: <p>I'm currently working on a registration page for users on a site.</p>
  
  <p>There are two attributes that users may have on sign up that I need to reflect in the sign up process. (I will probably use checkboxes to indicate whether the user will have the categories assigned to them)</p>
  
  <p>Currently, my idea to solve this is to have categories for users.</p>
  
  <p>So, I have to ask first, is it even possible to set a category from a template? If so, how?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-29T07:36:30.640Z
Comments.Text: This looks like a duplicate of [this question](http://craftcms.stackexchange.com/questions/1787/assign-category-via-guest-entry-form) and [this question](http://craftcms.stackexchange.com/questions/2437/category-as-select-dropdown-box). See if those answer what your looking for.
Comments.UserDisplayName: Douglas McDonald
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-30T05:21:49.097Z
Comments.Text: Thank you very much, I can't believe I didn't find those on my own.
  
  Should I delete this post?
Comments.UserDisplayName: Joshua Ohm
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-30T05:43:59.793Z
Comments.Text: Glad those answers worked. And no worries. Sometimes answers can be hard to find. Doesn't matter. I'll just flag this as a duplicate and it will get deleted.
Comments.UserDisplayName: Douglas McDonald
Tags: <categories>
Title: Is it possible to add a category to an object through twig?
ThreadText: # Is it possible to add a category to an object through twig?
  
  (Asked by: username_0 on 2014-10-28)
  
  I'm currently working on a registration page for users on a site.
  
  There are two attributes that users may have on sign up that I need to reflect in the sign up process. (I will probably use checkboxes to indicate whether the user will have the categories assigned to them)
  
  Currently, my idea to solve this is to have categories for users.
  
  So, I have to ask first, is it even possible to set a category from a template? If so, how?
  
  **Tags:** categories
  
  > **Comments:**
  > **username_1**: This looks like a duplicate of [this question](http://craftcms.stackexchange.com/questions/1787/assign-category-via-guest-entry-form) and [this question](http://craftcms.stackexchange.com/questions/2437/category-as-select-dropdown-box). See if those answer what your looking for.  
  > **username_0**: Thank you very much, I can't believe I didn't find those on my own.  Should I delete this post?  
  > **username_1**: Glad those answers worked. And no worries. Sometimes answers can be hard to find. Doesn't matter. I'll just flag this as a duplicate and it will get deleted.  
  
  ---
  
  ## 0 answers
  
  