Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

Custom Messages Within Cases
$.get('/api/case/' + caseid + '/data?getValues=Custom.val_a', function( data ) {
	
var value = data.data.customFields[0].value;
	
if (value < 100){
		$('#scriptingTarget').html('<div class="alert alert-danger"><i class="icon-info-sign"></i> The value is less than 100</div>');
	} else {
		$('#scriptingTarget').html('<div class="alert alert-success"><i class="icon-info-sign"></i> The value is over 100</div>');
	}
});

 

 
  • No labels