I am trying to display a value of "Yes" or "No" depending on if a checkbox is checked. If checked, I want to display "Yes" if not, display "No".
I have tried a few variants of the following code, but have not been able to get it to work. set
%%[var @rs2 Set @rs2= RetrieveSalesforceObjects('Reservation__c', 'SPF14_Purchased__c','Household__c','=', @ID)
set @row=row(@rs2,1) set @SPF14=field(@row,'SPF14_Purchased__c')
%%[IF (@SPF14 == True) THEN ]%% %%[ SET @SPF14 = Yes' ]%%
%%[ELSEIF (@SPF14 == False) THEN]%% %%[SET @SPF14 = 'No']%% %%[ELSE]%% %%[ENDIF]%% ENDIF ]%%