Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Creating an End Date 90 days from the start date

Not applicable
Sorry - but I'm new to using LiveCycle. I need to calculate an End_Date that is 90 days out from the Start_date. Does anyone know how to do this?

Thanks!
4 Replies
pguerett
Level 10
Level 10
Are these fields on a form or part of a process deadline? Can you explain what End_Date means to you.
Not applicable
Thank you for asking. These fields are on a "Treatment Plan" form. The user will input the start date of the treatment plan and the end date should calculate for the user, when the treatment plan is scheduled to end - in this case, 90 days from the start date. The form that the user will complete is a pdf version of the form created in LiveCycle 8.0. Hope this helps.
Not applicable
send me the form,will fix it for you

thanks

girish

mergeandfuse@gmail.com
Not applicable
here is the script

var current = Date2Num(Start_Date.rawValue, "MM/DD/YY")

var future = current+90

var newDate = Num2Date(future,"MM/DD/YY")

form1.#subform[0].End_Date.rawValue = newDate

You can put this script in the exit event of the startDate field