Hello Franky,
I seem to be having trouble with conditional date tags in my booking recorded message.
The if statements seem to always be true. Or am I missing something obvious?
Here’s the my template – I included the “regular” tag there as well for testing purposes. These show the expected result, but when I test for them, it doesn’t work, all the message show up for me:
<h3>Your selection for STARTDATE{l} has been recorded. Thank you.</h3>
<p class="selectedSession"><strong>#_EVENTNAME</strong></p>
#_STARTDATE
#_STARTDATE{l}
#_ENDDATE{l}
#_{l}
<!-- Show different Continue Messages, depending on the currently selected CL/HT Day we are in -->
<!-- if it is Wednesday -->
[eme_if tag="#ESC_STARTDATE{l}" eq="Wednesday"]<p class="eme-continue-booking">Please continue the booking process with your selection for <strong>Thursday</strong> below.</p>[/eme_if]
<!-- if it is Thursday -->
[eme_if tag="#ESC_STARTDATE{l}" eq="Thursday"]<p class="eme-continue-booking">Please continue the booking process with your selection for <strong>Friday</strong> below.</p>[/eme_if]
The same is true if I test for #_STARTDATE without any parameters, always true for me
[eme_if tag="#ESC_STARTDATE" eq="25/08/2022"]
Or #_ENDDATE
[eme_if tag="#ESC_ENDDATE" eq="25/08/2022"]
Or even #_{l}
[eme_if tag='#ESC_{l}' eq='Saturday']
Any ideas?