Please enable JavaScript to view this site.

thankQ Help

If a specified custom field equals a specific value, display content "A". If it doesn't contain that value, check another specified custom field for a specific value, and if found, display content "B". If there is no match in either scenario, display alternative content.

[if:CustomField=x]Your "A" content here[elseif:CustomField=y]Your "B" content here[else]Your alternative content here[endif]

 

thankQ Example:

The following are the steps to create an Include Field Rule so a Profile can be used in a mailing or campaign. A Word or Campaign Monitor template can be created and the PARAMETERVALUE inserted into the template. The Field Rule should be applied in the mailing that is being used with the Profile.

1.Click Include Field Rules under Communication Modules

DYNAMI~1_img4

2.Click Table View on the Tool Bar

DYNAMI~1_img5

3.Click the Destination Field heading to sort in order. Locate a number that is not being used.

DYNAMI~1_img6

4.Click New on the Tool Bar

5.Click the tick box beside Include in Quick Letters if using the Write button and also Quick Receipts

6.Enter a Description

7.Select the Number of Characters from the drop down

8.Select the Parametervalue number from the Destination Field drop down

9.Enter or copy and paste the SQL Code

10.Click OK

DYNAMI~1_img7

UPDATE MAILINGDETAILPARAMETER

SET MAILINGDETAILPARAMETER.PARAMETERVALUE<Next available Number> = [CONTACTPARAMETER].[PARAMETERVALUE]

FROM MAILINGDETAILPARAMETER INNER JOIN CONTACTPARAMETER ON MAILINGDETAILPARAMETER.SERIALNUMBER = CONTACTPARAMETER.SERIALNUMBER

WHERE (((MAILINGDETAILPARAMETER.ADMITNAME)=':MailingID:') AND ((CONTACTPARAMETER.PARAMETERNAME)='<Profile Name>'))

 

<Next available Number> should be replaced with the next un-used number i.e. go to table view in Include field rules and order by column Destination field

<Profile Name> should be replaced with the desired profile name

Campaign Template:

 

DYNAMI~1_img8

 

DYNAMI~1_img9

 

DYNAMI~1_img10

[if:PARAMETERVALUE27=Vegan]You have a special table with no diary or meat.[elseif:PARAMETERVALUE27=Vegetarian]We have a salad bar just for you.[elseif:PARAMETERVALUE27=Lactose Intolerant]We have a buffet with nothing containing milk.[else]Sample our many delacies.[endif]