Answers.Body: <p>CiviCRM does not have a built-in way to create conditional fields in its forms. You mentioned Drupal Webforms and yes they could solve that problem for you if you were open to using a webform instead.</p>
  
  <p>Otherwise the only solution is to learn to write jQuery code and customize your form by showing/hiding fields with javascript.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-04T17:50:26.803Z
Answers.Text: Thanks, Coleman. Another way I tried to solve this was to create activity types and custom fields for these situations.
Answers.UserDisplayName: Kristine
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-08T23:50:27.803Z
Answers.LastActivityDate: 2017-04-08T23:50:27.803Z
Answers.UserDisplayName: Coleman
Body: <p>I currently have cases with different activities in CiviCRM for different programs. I then used custom fields to add additional questions to appear in each activity in the forms. Is it possible to set conditional questions to appear based on a prior question? </p>
  
  <p>P.S. I'm currently using CiviCRM on Drupal. However, I like to keep using the case activities form instead of a Webform for the cases.</p>
  
Tags: <drupal><civicase><condition>
Title: What is the best way to create a conditional question in case activities?
ThreadText: # What is the best way to create a conditional question in case activities?
  
  (Asked by: username_0 on 2017-04-07)
  
  I currently have cases with different activities in CiviCRM for different programs. I then used custom fields to add additional questions to appear in each activity in the forms. Is it possible to set conditional questions to appear based on a prior question?
  
  P.S. I'm currently using CiviCRM on Drupal. However, I like to keep using the case activities form instead of a Webform for the cases.
  
  **Tags:** drupal, civicase, condition
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-04-08. Score: 2 | Accepted answer
  
  CiviCRM does not have a built-in way to create conditional fields in its forms. You mentioned Drupal Webforms and yes they could solve that problem for you if you were open to using a webform instead.
  
  Otherwise the only solution is to learn to write jQuery code and customize your form by showing/hiding fields with javascript.
  
  > **Comments:**
  > **username_0**: Thanks, username_1. Another way I tried to solve this was to create activity types and custom fields for these situations.  
  
  ---
  
  