Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Solution: Mileage Reimbursement Request Form

Avatar

Former Community Member
Hi Everyone- I'm a newbie to LiveCycle and programing is my weakness.



However, I thought I'd share something I'm working on. I'm creating a submit form for Mileage Reimbursement.



For awhile now, I've been googling as well as browsing this forum and couldn't find a formcalc formula. Using the built in Help in live cycle, I found the formula.



So I have begining miles and ending miles that must be subtracted.



Here is the code:



if (endmiles1 < beginmiles1) then

total1 = 0

else

total1 = endmiles1 - beginmiles1

endif



Hope this helps someone.
0 Replies