since ‎17-04-2017
‎10-12-2019
ianp333321
Level 1
Re: Adding days to field ianp333321 - Adobe LiveCycle
I found the answer on another post. The original post was answered by Magus069 and for those looking for this answer I'll share below.The date field which you want it to be readOnly will need to have the following FormCalc script within the calculate eventif (DateTimeField1.rawValue <> null) then Num2Date(Date2Num(DateTimeField1.rawValue,"YYYY-MM-DD") + 2, "YYYY-MM-DD")else nullendif
352
Views
0
Likes
0
Answers
Re: Add Two Days to Date Field ianp333321 - Adobe LiveCycle
Hi Magus069,I know this is an old post but I've literally gone stir fry trying to figure this out and have spent countless hrs digging the net for this answer and it worked perfectly for me.Thank you kindlyIan
366
Views
0
Likes
0
Answers
Re: FORMCALC (or JS) Default date today with user override questions ianp333321 - Adobe LiveCycle
I realize this is an old post however, in the event someone else sees this post and is learning JS;You add 2 date fields and on the 1st one under the exit event you add the following code: DateField2.formattedValue = this.formattedValue;Best regardsIan.
1060
Views
0
Likes
0
Replies
Adding days to field ianp333321 - Adobe LiveCycle
I'm trying to find a way to have 2 date pickers that work together to show a pay period based on 1 date selected in a date picker. 1 date picker the user can select a date and the second date picker that auto populates a date that is 14 days after the date selected in date picker 1 Please and thank you in advance.Ian.
423
Views
0
Likes
1
Answers and Comments
Re: expiry date ianp333321 - Adobe LiveCycle
PDFGuru​,Thank you kindly.Ian.
421
Views
0
Likes
0
Answers
expiry date ianp333321 - Adobe LiveCycle
Hello,I am creating a series of forms that contain 2 Date Fields. 1 Date Field has the current date set by default and can be modified by the end user and the second Date Field is set to read only. I would like the second Date Field to automatically populate a date that is 1 year later than the date entered into the first Date Field.This knowledge would be great for creating forms like Confidentiality Agreements and other forms of similar nature however, I am unable to figure this out. I have se...
847
Views
1
Like
2
Answers and Comments
Likes given to
Likes from