Changes

JavaScript - Outcome Show and Hide

91 bytes added, 13:16, 21 December 2012
no edit summary
var strCDA_X_field_0_1 = document.getElementById('strCDA_X_field_0_1').value;
 
//If the call is a sales query only add one outcome Sale
if (strCDA_X_field_0_1 == 'Sales Query') {
//If the call is a sales query only add one outcome Sale
fn_BE_AddOutcome( 'Sale', 'Sale' );
}
else if (strCDA_X_field_0_1 == 'Go Away'){
//If the call is a not interested query, we add back in only the Not Interested outcome
fn_BE_AddOutcome( 'Not Interested', 'Not Interested' );
}
7,528
edits