I'm new to SugarCRM and I'm trying to calculate an ifelse function. $skirting_c is a dropdown with "Yes" and a blank as the drop down values. If option "Yes" is selected, we want a "1" to be returned, if the blank value is selected we want the return to stay blank as well. I tried the following,
but keep getting the following syntax error:
"1)),ifElse(equal($skirting_c: Syntax Error, no close parentheses found".