Radzmar:Thank you for the script. However, I am not able to get it to
work, and I am not sure why.This is the complete script that I put in
the exit event for DateDue:if (not $.isNull and not
DateSubmitted.isNull) then var dateFmt = "MM/DD/YYYY" var firstDate =
Date2Num(DateSubmitted.formattedValue,dateFmt) var finalDate =
Date2Num($.formattedValue, dateFmt) if (Abs(finalDate - firstDate) le 2)
then RUSH.presence = "visible" else RUSH.presence = "hidden" endif
endifAt first I thought it might be...
I have been trying to figure out how to compare date fields in LiveCycle
Designer ES2. I have two date fields: "First Draft Due" and "Final
Due"On exit from Final Due I want to automatically compare the fields.
If they are less than 48 hours apart, I want to make the word "Rush"
appear at the top of the form.I have a hidden SubForm "RUSH" at the top
of the form.Any help would be greatly appreciated.Thanks.
I am creating a document with several subforms. When a radio button is
selected, one of the subforms is visible and the rest are hidden. I am
trying to figure out how I can reset the fields of a subform when it is
switched from visible to back to hidden. If possible, I do not want to
reset the whole document.Is there a way to do this? Thanks.