Sorry for only seeing this now. I have been busy wrapping my year up. I’m finally on leave but do have a few jobs that I will run from home.
Regarding my script. Yes, as Phil said, you have to add it to the template. I see you have a Text Script that is using a field called “DEPARTURE”. If that is the field you want to use then click the Expand button to convert the Text Script to JavaScript. Then delete all the code in there and replace it with my code. Then in my code replace the following line to use your DEPARTURE field. Like this.
Replace my code line: var date = record.fields.Date.split(" ");
With this: var date = record.fields.DEPARTURE.split(" ");
Regarding the Name box. Call it whatever you want. In the Find box you need to add the text that you use on your template for the script to find it and give it a value. You can put @DepartureDate@ in there for example. Then in your template you need to have a paragraph or positioned box or table that has @DepartureDate@ for the script to find it and replace it with the data you want once you click Preview in the Connect designer.
If you need a sample template and data mapper I can send one to you. Unfortunately this new site of Objectif Lune’s does not allow posting uploads of these files, so I will have to upload it elsewhere and share the link.
In my sample mapper/template using field Date in the script. It made no difference if I changed it to DATE. Looks to me case did not matter in this instance.