Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Formcalc: Calculate number of days between dates

$
0
0

Hi all,

 

I'm trying to set up a field that will show the number of days between a user-entered date and a current/today's date field. 

I tried to adapt a script from another post, but I'm not getting it to work.

 

form1.sf1.CCSub.CCGroup.#subform[0].DateField2::exit - (FormCalc, client)

 

form1.sf1.CCSub.CCGroup.#subform[0].NumericField2.rawValue = Date2Num(DateField1, "MM-DD-YY") - Date2Num(DateField2, "MM-DD-YY")

 

and here's my file:

 

https://www.dropbox.com/s/arkmnsxjkl4r156/AFBS_FacilitySpecialCareList 02.pdf

 

any help would sure be appreciated!

 

Thanks!

Laura


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>