CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • Open Case: Required Item Case Type Issue
Pages: [1]

Author Topic: Open Case: Required Item Case Type Issue  (Read 1101 times)

enablenet

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.07
  • CMS version: Drupal 7.9
  • MySQL version: MySQL 5.x (Dreamhost)
  • PHP version: PhP 5.x (Dreamhost)
Open Case: Required Item Case Type Issue
December 11, 2011, 04:55:43 pm
Most latest versions of CRM and Drupal.  I see the problem I will be talking about in the 4.0 demo.

When opening a case, you must select a Case Type.  However, the first Case Type is always present as default selection, so an undisciplined user can always ignore this field and file a case under the first case on the list.  (Alas, yes they are).  Is there a quick way to add "-select type" to the list of Case types and force the user to pick a real case type on the drop down list? 

I am not a code wizard, but I do know enough to be dangerous.  If you can provide a code snipet and tell me where to place it, I can do that. 

Much appreciated.

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: Open Case: Required Item Case Type Issue
December 13, 2011, 09:08:03 am
If custom code isn't something your org wants to support, then one option is to add a new default case type called "none" or something, then periodically run a search to find these and fix them.

You might be able to code it with the buildForm hook, or (worse) make a local customization of CRM/Case/Form/Activity/OpenCase.php

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • Open Case: Required Item Case Type Issue

This forum was archived on 2017-11-26.