Explore the community Forums Lectora Lectora Questions & Answers Use Current Date to Trigger Action Reply To: Use Current Date to Trigger Action

#368089 Score: 1
Profile photo of Tim K
Tim K
Member
contributor
beginner
intermediate
advanced
friend finder
junior moderator
advocate
wise owl
curious george
Group Member
354 pts
@timk

There seems to be a bug with the conditions panel… CurrentDate today contains “17.08.2017” (may be different where you are). If I check whether it contains “08” it works fine, only it would be true for “08.12.2017” as well. If I check for “.08” to make sure it can only be the month it won’t work. It seems any “.” in the value field breaks the code. CurrentDate equal to “17.08.2017” is not firing the action.

I attached a sample in that I’m using a tiny bit of custom javascript to check which month we currently have, but most of it is pure Lectora.

This post has received 1 vote up.
Attachments:
  1. Months.zip