Skip to main content
Participant
September 5, 2011
Question

Expiry on a certificate

  • September 5, 2011
  • 9 replies
  • 701 views

I am new to captivate and looking to creating a simple certificate at the end of the project, I will use the viarables to gather the information required however I need to put a 12 month expiry on the certificate how can this be done through advanced inteactions.

thanks

    This topic is closed to new replies. Start a new post to keep the conversation going.

    9 replies

    Captiv8r
    Legend
    September 5, 2011

    Welcome to our community

    I'm a bit confused so imgine others will be too. Are you asking about simply printing on the certificate that it will expire on (whatever calculated date here)?

    Cheers... Rick

    Helpful and Handy Links

    Captivate Wish Form/Bug Reporting Form

    Adobe Certified Captivate Training

    SorcerStone Blog

    Captivate eBooks

    Participant
    September 5, 2011

    Sorry about the confusion.  Yes I am wanting to print on the certificate that this will expire xx/xx/xxxx this will be one year after the course has been completed.  But I would like to know how to get captivate to automatically add the year onto the current date.

    Hope this makes more sense.

    Thanks

    Lilybiri
    Legend
    September 5, 2011

    Hello,

    This is pretty simple. There are three system variables that can indicate year, month and day: cpInfoCurrentYear  cpInfoCurrentMonth and cpInfoCurrentDay

    Create a user variable, I'll label it v_NextYear.

    You create a standard advanced action CalcYear that will calculate this variable with this Expression:

    Expression v_NextYear = cpInfoCurrentYear + 1

    Attach this action (perhaps you'll have to add Continue as a second statement) on Enter of the slide where you want to have the date.


    Insert a Text Caption where you use the variables, separated by / or whatever symbol you want:

    $$cpInfoCurrentMonth$$/$$cpInfoCurrentDay$$/$$v_NextYear$$

    Lilybiri