JavaScript - Formularstatus ermitteln

3. November 2009 20:11

Abfragen des aktuellen Formularstatus

var CRM_FORM_TYPE_CREATE = 1;
var CRM_FORM_TYPE_UPDATE = 2;
var CRM_FORM_TYPE_READ_ONLY = 3;
var CRM_FORM_TYPE_DISABLED = 4;
var CRM_FORM_TYPE_QUICK = 5;
var CRM_FORM_TYPE_BULK = 6;

switch (crmForm.FormType)
{

case CRM_FORM_TYPE_CREATE:
//
break;

case CRM_FORM_TYPE_UPDATE:
//
break;

case CRM_FORM_TYPE_READ_ONLY:
//
break;

case CRM_FORM_TYPE_DISABLED:
//
break;

case CRM_FORM_TYPE_QUICK:
//
break;

case CRM_FORM_TYPE_BULK:
//
break;

default:

break;
}