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

PDF form Week ending date auto populate

$
0
0

i have a pdf form i am doing. it has a java script to make the week ending date populate other fields and minus a day.

if (WEEK_ENDING.rawValue == null)

{$.rawValue = "";}

else

{Num2Date(Date2Num(WEEK_ENDING.formattedValue, DateFmt(1)) - 0, DateFmt(1));}

endif

this works for the first date, but when i change it to

if (WEEK_ENDING.rawValue == null)

{$.rawValue = "";}

else

{Num2Date(Date2Num(WEEK_ENDING.formattedValue, DateFmt(1)) - 1, DateFmt(1));}

endif

it does not work. any idea what i am doing wrong?

Tina


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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