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
BedrockMission!

Learn More

View all

Sign in to view all badges

Creating an End Date 90 days from the start date

Avatar

22-09-2008

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!

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

23-09-2008

Are these fields on a form or part of a process deadline? Can you explain what End_Date means to you.

Avatar

23-09-2008

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.

Avatar

23-09-2008

send me the form,will fix it for you

thanks

girish

mergeandfuse@gmail.com

Avatar

25-09-2008

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