Conditional contents?
Posted: Tue Mar 18, 2008 11:49 am
Hi,
Is there any way to specify whether data fields or content text should be included in a mailing? Our imported data contains two date/description fields (vacdate and vacdate2) for vaccination reminders, but only one may be in use or valid so Ideally i need to do something like this (pseudo code):
**********
Dear Customer,
Our records show that your pet is due the following vaccinations this month:
[IF $vacdate-$TODAY >= 30] [agnDB column="vacdate"] [agnDB column="vactype"] [ENDIF]
[IF $vacdate2-$TODAY >= 30] [agnDB column="vacdate2"] [agnDB column="vactype2"] [ENDIF]
**********
It would also be great if conditional checks could be used to selectively include or exclude additional content.
The only other ways I can see of doing this are to create two target groups for each mailing (one for each vacdate) or re-engineer our data import, which will not be easy.
Thanks
Is there any way to specify whether data fields or content text should be included in a mailing? Our imported data contains two date/description fields (vacdate and vacdate2) for vaccination reminders, but only one may be in use or valid so Ideally i need to do something like this (pseudo code):
**********
Dear Customer,
Our records show that your pet is due the following vaccinations this month:
[IF $vacdate-$TODAY >= 30] [agnDB column="vacdate"] [agnDB column="vactype"] [ENDIF]
[IF $vacdate2-$TODAY >= 30] [agnDB column="vacdate2"] [agnDB column="vactype2"] [ENDIF]
**********
It would also be great if conditional checks could be used to selectively include or exclude additional content.
The only other ways I can see of doing this are to create two target groups for each mailing (one for each vacdate) or re-engineer our data import, which will not be easy.
Thanks