I am using Adobe Captivate 2017 Release 10.0.1.285.
I have created a certificate to be printed by the user once they complete/pass the Quiz. I have included the variable of $$cpInfoCurrentDateString$$ as the Date of Issue.
I need to put an expiry date on a certificate as well but it needs to be 3 years out from the date of issue.
Is this also possible? Can you help me with the coding? I am a new user so I do not have a lot of experience with coding.
Thanks.
My blog with a step-by-step explanation of the code to calculate the expiry date is published:
https://elearning.adobe.com/2019/01/object-styles-pillars-themes/
To see how to display a variable on a slide: you’ll find the workflow in the system variables blog for which I already posted a link.
Oops, my bad, posted the wrong link. I published two posts yesterfay.https://elearning.adobe.com/2019/01/calculate-expiry-date-expression-variables/This should be the correct one? My apologies.Since you answered my previous comment, am not able anymore to edit and post the correct link in it.
Thank you again Lieve. Your instructions were very easy to follow and I have been able to create the variables I need to get the 3 year expiry date on my certificate. The only thing left for me to figure out is the date format. The Date of Issue is displaying as m/d/yyyy but the Date of Expiry is displaying at d/m/yyyy. I’ll continuing going through your Blogs to see if I can get them to match. Ultimately I would really like both dates to display at mm/dd/yyyy if possible.
The blog with the step-by-step workflow is almost ready. Will publish it in the portal, but will only be approved probably tomorrow. I avoided the use of JavaScript, and added the possibility to choose the date format, because that is different in Europe from USA, and the real international standard (ISO) is still another sequence.
You should have a look at this blog, which I wrote based on my experience (over 10 years) as consultant, trainer and answering questions daily on all social media.
https://elearning.adobe.com/2017/03/three-skills-acquire-captivate-newbies/
Can you download the free table I provided in this blog post:
https://elearning.adobe.com/2018/11/understanding-using-system-variables-part-1/
You will see that there is a quizzing system variable cpInfoCurrentYear and similar which which can be used. I will try to write a short blog with a step-by-step explanation later on.
You must be logged in to post a comment.