-
kittystormsAsked on September 15, 2016 at 9:05 AM
Hi!
I created a couple of JotForms to email coupons & groceries to my Todoist. and it works great. Mostly.
In order to assign a due date in Todoist, I need to insert <date YY>, with YY being the date. When I create the notification email, I input
<date {expires}>
I've tried it a couple of different ways, but the date never appears in the task. When I included it in the body of the email (and not the subject line), the following text was displayed:
<date YY>
I tried adding pre, blockquote, code before and after the <date YY>, but I still can't get it to display properly.
-
Nik_CReplied on September 15, 2016 at 11:56 AM
I assume you're picking up the value for 'expires' from expires field:
And you were using the correct field name: {expires}, that will pass information to Title of the email. If you would like to have Date always in the same format you can use Date field instead of Text field:
And then use that field's name to show it in the Title of the email:
You will have in your email looking like this:
If you need further assistance please let us know.
Thank you!
-
kittystormsReplied on September 15, 2016 at 9:15 PM
I'm not having a problem with the date itself - I'm having problems when I add specific characters to the subject line.
I've added the same text to the subject line and body:
But the <date {expires}> in the subject disappears when emailed to Todoist:
The <date > is required in Todoist to schedule a date.
Why does the entire block of text disappear?
Thanks!
-
David JotForm Support ManagerReplied on September 15, 2016 at 11:11 PM
Please try the following method:
{firstPart} {expires} {secondPart}
Let us know if you need more help.
-
kittystormsReplied on September 22, 2016 at 11:53 AM
I tried that and it still didn't work :(
This is what I see when I put {firstPart} {expires} {secondPart} in the body of the email (if I put it in the subject line, the date doesn't appear at all)
Thank you!
-
David JotForm Support ManagerReplied on September 22, 2016 at 2:06 PM
After investigating further, I found out that content within angle brackets disappear, that's why you don't see the data in the notification. That happens because in non-code, anything that looks like <xxxx> will disappear because it will be triggered as an unknown/not allowed HTML tag.
In order to solve this, you can use < for <, and > for >. You need to insert this in the source code of your email notification, example:
Result:
Let us know if you need more help.