Answers.Body: <p>Could you use the entry types to achieve the same thing?
  <a href="https://buildwithcraft.com/features/entry-types" rel="nofollow">https://buildwithcraft.com/features/entry-types</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-27T20:27:43.800Z
Answers.Text: Yes, but why are Categories for then?
Answers.UserDisplayName: Samuel E.
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-28T10:33:24.833Z
Answers.Text: Categories would be used to simply classify your content within the system.  Unfortunately I don't know a way of having conditional logic in the CMS where you choose one value to display an appropriate field.
Answers.UserDisplayName: Andy Lake
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-27T16:10:10.157Z
Answers.LastActivityDate: 2015-07-27T16:10:10.157Z
Answers.UserDisplayName: Andy Lake
Body: <p>I want to show some fields depending in the category selected for the entry but within the editing stage. is it possible?</p>
  
  <p>If not, then how can i check if the entry is in a category in the template and output a field group.</p>
  
  <p>thanks ahead!</p>
  
Tags: <categories><field>
Title: Is it possible to assign fields to entries by category?
ThreadText: # Is it possible to assign fields to entries by category?
  
  (Asked by: username_0 on 2015-07-25)
  
  I want to show some fields depending in the category selected for the entry but within the editing stage. is it possible?
  
  If not, then how can i check if the entry is in a category in the template and output a field group.
  
  thanks ahead!
  
  **Tags:** categories, field
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-07-27. Score: 1 | Accepted answer
  
  Could you use the entry types to achieve the same thing?
  <https://buildwithcraft.com/features/entry-types>
  
  > **Comments:**
  > **username_0**: Yes, but why are Categories for then?  
  > **username_1**: Categories would be used to simply classify your content within the system.  Unfortunately I don't know a way of having conditional logic in the CMS where you choose one value to display an appropriate field.  
  
  ---
  
  