January 22, 2019
Adding 3 year expiry date to certificate
Comments
(12)
January 22, 2019
Adding 3 year expiry date to certificate
Newbie 7 posts
Followers: 0 people
(12)

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.

12 Comments
2019-01-29 09:15:43
2019-01-29 09:15:43

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.

 

Like
(1)
(6)
>
Lieve Weymeis
's comment
2019-01-29 15:47:34
2019-01-29 15:47:34
>
Lieve Weymeis
's comment

I must be blind because I can’t see any step-by-step instructions in this object-styles-pillars-theme blog.

Like
()
>
wendyn52289848
's comment
2019-01-29 16:02:46
2019-01-29 16:02:46
>
wendyn52289848
's comment

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.

Like
()
>
Lieve Weymeis
's comment
2019-02-01 19:42:26
2019-02-01 19:42:26
>
Lieve Weymeis
's comment

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.

Like
()
>
wendyn52289848
's comment
2019-02-01 20:15:20
2019-02-01 20:15:20
>
wendyn52289848
's comment

I explained step by step for that reason. I put both in the European way. You have to switch the system variables for the month and the day in the advanced action.

Like
()
>
Lieve Weymeis
's comment
2019-02-01 20:25:20
2019-02-01 20:25:20
>
Lieve Weymeis
's comment

Yes, thanks. I was just about to text you back. I was able to reverse the order and it is working perfectly. Thanks again for all your help.

Like
()
>
wendyn52289848
's comment
2019-02-01 20:28:31
2019-02-01 20:28:31
>
wendyn52289848
's comment

You’re welcome. I plan to post a published project, where the workflow is extended by allowing to enter the time for expiry (years or months) and a choice for the sequence in the dates: European, US or ISO.

Like
(1)
2019-01-28 14:17:26
2019-01-28 14:17:26

Thank you. I was able to download the table. I will read through the entire article later today.

Like
()
(3)
>
wendyn52289848
's comment
2019-01-28 14:19:16
2019-01-28 14:19:16
>
wendyn52289848
's comment

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.

Like
()
>
Lieve Weymeis
's comment
2019-01-28 14:23:36
2019-01-28 14:23:36
>
Lieve Weymeis
's comment

Thank you for all of your help. I am a rookie with this program and probably over my head. Fortunately I love learning and to be challenged.

Like
()
>
wendyn52289848
's comment
2019-01-28 14:25:50
2019-01-28 14:25:50
>
wendyn52289848
's comment

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/

Like
()
2019-01-28 09:35:48
2019-01-28 09:35:48

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.

Like
(1)
Add Comment